Svelte-Pieces

npm code style

🌏 Open in the Cloud

Click any of the buttons below to start a new development environment to demo or contribute to the codebase without having to install anything on your machine:

Open in VS Code Open in Glitch Open in GitHub Codespaces Edit in Codesandbox Open in StackBlitz Open in Repl.it Open in Codeanywhere Open in Gitpod

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.
Edit page in GitHub