Skip to content

jacob-8/svelte-pieces

Repository files navigation

Svelte-Pieces

Open in StackBlitz npm code style

Read the Documentation and try out the components using Kitbook

Built using Kitbook, UnoCSS, and Iconify icons - you don't need UnoCSS installed for these components to work properly as the classes get generated at packaging time by the to @unocss/svelte-scoped preprocessor.

Usage

  • Install: npm i -D svelte-pieces or pnpm add -D svelte-pieces
  • Import desired component, e.g. import { Button } from 'svelte-pieces'; or import Button from 'svelte-pieces/ui/Button.svelte';

Contributing

  • Start by running pnpm install, then pnpm dev - feel free to submit a pull request, though I advise creating an issue first to discuss your addition.
  • We use Conventional Commits.