Giter Site home page Giter Site logo

stanskrivanek / svonic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from svonic/svonic

0.0 0.0 0.0 5.5 MB

Svonic is a UI component library for Svelte based on the Ionic Framework.

Home Page: https://www.svonic.dev

JavaScript 2.14% TypeScript 13.26% CSS 0.09% HTML 0.48% Svelte 84.03%

svonic's Introduction

๐Ÿ‘ท โš ๏ธ READ THIS FIRST!

Svonic so far is more of a proof of concept and very much in an Alpha state and under construction.

Svonic

Svonic is a UI component library based on the Ionic Framework. Svonic so far consists of the following 3 ideas for packages.

Svonic Core

Svonic Core attempts to make it easier to construct a Svelte application using Ionic Web Components. Svonic Core wraps the Ionic Web Components to make them easier to use in a Svelte application.

Svonic UI

Svonic UI uses Svonic Core as a base to build components that Ionic has not created yet or is not interested in making. These missing components can take inspiration from other libraries like Microsoft FluentUI and Mantine.

By using a Svelte wrapper around the Ionic Web Components we could change or replace the underlying Ionic component in the future if necessary. Svonic UI can become a library of complex components, blocks and templates.

Svonic Forms

The Enterprise apps I normally build are very complex form applications with similar user interfaces to like Microsoft Dynamics 365 or NetSuite. Coming from Angular I wanted something similar to Angular Material Form Fields. Svonic Forms attempts to recreate these to make it easier to build complex forms UIs.

๐Ÿค” Why use Ionic?

Ionic has a "particular set of features" that makes it a great component framework to build SPA and MPA applications.

Some of these features are...

  • Dark Mode
  • RTL support
  • Adaptive Styling for iOS and Material Design
  • Keyboard shortcuts for Desktop

The full list of Ionic components can be found here.


โฌ‡๏ธ Installation

pnpm i -D @svonic/core
pnpm i -D @svonic/ui
pnpm i -D @svonic/forms

๐Ÿ‘ฉโ€๐Ÿš€ Getting Started

All Svonic components should be placed inside an Application component at the root of your application. The Application component helps bootstrap Ionic and make sure all the components are rendered correctly.

<script>
	import { Application, Content, Footer, Header, Title, Toolbar } from '@svonic/core';
</script>

<Application>
	<Header>
		<Toolbar>
			<Title>Header</Title>
		</Toolbar>
	</Header>

	<Content>
		<h1>Main Content</h1>
		<slot />
	</Content>

	<Footer>
		<Toolbar>
			<Title>Footer</Title>
		</Toolbar>
	</Footer>
</Application>

๐Ÿ“ฆ Packages

Currently Svonic has these packages.

Svonic Core

Svonic Forms

Svonic UI


๐Ÿซ Example Apps

The Ionic Conference App example app developed as a SvelteKit MPA.

image


๐Ÿ“˜ Documentation

The Svonic Documentation can be found here...
๐Ÿ’ป Github
๐Ÿ“š Docs

There are demos for most Svonic Core components.

image


๐Ÿ’” Not what you are looking for?

๐Ÿ’ก Try these other great libraries!

DaisyUI

๐Ÿ’ป Github
๐Ÿ“š Docs

SvelteUI

๐Ÿ’ป GitHub
๐Ÿ“š Docs

Carbon Components

๐Ÿ’ป Github
๐Ÿ“š Docs


๐Ÿฅถ Stop. Collaborate. Listen.

If you have feedback, ideas, questions, feature requests we can discuss all these and more in the Github discussions.


๐Ÿ™ Acknowledgments

Tan Li Hau ๐Ÿ‘‹ ๐Ÿ‘‹

I really learn so much from Li Hau. I wouldn't be able to do any of this without this amazing Youtube Channel.

๐Ÿ’ป Github
๐Ÿ“บ Youtube

Other great resources that helped me a lot...

Johnny Magrippis

๐Ÿ’ป Github
๐Ÿ“บ Youtube

Joy of Code

๐Ÿ’ป Github
๐Ÿ“บ Youtube

Tommertom

Thank you to Tommertom for showing the possibilities of using Ionic together with Svelte.

๐Ÿ’ป Github

twMVC

Special thanks to the Taiwan MVC Group. โ˜• ๐Ÿ‡น๐Ÿ‡ผ

๐Ÿง‘โ€๐ŸŽ“ Facebook

svonic's People

Contributors

robertweaver avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.