All Projects → illright → Attractions

illright / Attractions

Licence: mit
A pretty cool UI kit for Svelte

Projects that are alternatives of or similar to Attractions

Svelte Materialify
A Material UI Design Component library for Svelte heavily inspired by vuetify.
Stars: ✭ 351 (+96.09%)
Mutual labels:  ui-kit, svelte
kahi-ui
Straight-forward Svelte UI for the Web
Stars: ✭ 169 (-5.59%)
Mutual labels:  svelte, ui-kit
Svelte Chota
Svelte UI components based on super lightweight chota CSS framework.
Stars: ✭ 157 (-12.29%)
Mutual labels:  ui-kit, svelte
Notus Svelte
Notus Svelte: Free Tailwind CSS UI Kit and Admin
Stars: ✭ 144 (-19.55%)
Mutual labels:  ui-kit, svelte
Fluent Reveal Effect
Fluent Reveal Effect JavaScript library for web
Stars: ✭ 164 (-8.38%)
Mutual labels:  ui-kit
Collectionviewslantedlayout
A CollectionView Layout displaying a slanted cells
Stars: ✭ 2,029 (+1033.52%)
Mutual labels:  ui-kit
Vim Svelte
Vim syntax highlighting and indentation for Svelte 3 components.
Stars: ✭ 158 (-11.73%)
Mutual labels:  svelte
Kit
The fastest way to build Svelte apps
Stars: ✭ 6,010 (+3257.54%)
Mutual labels:  svelte
Vue Beauty
Beautiful UI components build with vue and ant design
Stars: ✭ 2,109 (+1078.21%)
Mutual labels:  ui-kit
React Hooks In Svelte
React hook examples ported to Svelte
Stars: ✭ 176 (-1.68%)
Mutual labels:  svelte
Svelte Table
A svelte-3 table implementation that allows sorting and filtering
Stars: ✭ 162 (-9.5%)
Mutual labels:  svelte
Ajari Koding
📚 Kumpulan berbagai sumber daya untuk belajar koding dari hasil karya para kreator lokal yang terpercaya dan telah dikurasi oleh komunitas PHPID
Stars: ✭ 156 (-12.85%)
Mutual labels:  svelte
Svelte Swipe
Svelte Swipe with zero dependencies 🔥 💥
Stars: ✭ 164 (-8.38%)
Mutual labels:  svelte
Preact Photon
🚀 Beautiful desktop apps with Preact + Photon ❤️
Stars: ✭ 158 (-11.73%)
Mutual labels:  ui-kit
Preact Mdl
💥 A collection of Preact Components that encapsulate Google's Material Design Lite.
Stars: ✭ 179 (+0%)
Mutual labels:  ui-kit
Sveltejs Forms
Declarative forms for Svelte
Stars: ✭ 163 (-8.94%)
Mutual labels:  svelte
Win95.css
Responsive Bootstrap 4 windows 95/98 theme & landing template
Stars: ✭ 171 (-4.47%)
Mutual labels:  ui-kit
Citrus.avalonia
Modern styles for Avalonia controls.
Stars: ✭ 161 (-10.06%)
Mutual labels:  ui-kit
React Ui Kits
A list of UI Kits available for React and React Native.
Stars: ✭ 159 (-11.17%)
Mutual labels:  ui-kit
Ppfish Components
Fish Design: 面向B端设计的企业级UI组件库
Stars: ✭ 163 (-8.94%)
Mutual labels:  ui-kit
Logo

Attractions

GitHub Workflow Status npm npm bundle size npm bundle zipped size

A pretty cool UI kit for Svelte.

Refer to the main documentation: https://illright.github.io/attractions

Installation

Step 1. Install the library with your favorite package manager:

npm install --save-dev attractions
# -- or --
yarn add --dev attractions
# -- or --
pnpm add --save-dev attractions

Step 2. Install svelte-preprocess, Dart Sass and PostCSS:

npm install --save-dev svelte-preprocess sass postcss
# -- or --
yarn add --dev svelte-preprocess sass postcss
# -- or --
pnpm add --save-dev svelte-preprocess sass postcss

Step 3. Add svelte-preprocess to your preprocessor chain (as shown here):

// rollup.config.js
import sveltePreprocess from 'svelte-preprocess';

export default {
  // ...,
  plugins: [
    svelte({
      preprocess: sveltePreprocess(),
    }),
  ],
};

Step 4. Import the desired components as named imports and use wherever you like!

<script>
  import { Button } from 'attractions';
</script>

<Button>click me</Button>

For more information on how to customize/theme your installation, see the docs.


Alternatively, the library can be used from a CDN, such as unpkg, and then the components will be registered as custom elements. This is especially useful for quick prototypes that do not need all the features provided.

Example usage:

<head>
  <script src="https://unpkg.com/attractions"></script>
</head>
<body>
  <a-button filled="filled">My button</a-button>
</body>

For more details, check out the docs.

License

This project is MIT licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].