stylist-svelte is a Svelte 5 component library with TypeScript typings, theme support, and a large generated component surface organized by domain.
npm install stylist-svelte svelte
Peer dependency:
svelte@^5<script lang="ts">
import { ThemeProvider, Button, Input } from 'stylist-svelte';
</script>
<ThemeProvider initialTheme="light">
<Input placeholder="Enter your name" />
<Button variant="primary">Get started</Button>
</ThemeProvider>
stylist-sveltedist/index.d.tsdist/index.jsUseful commands:
yarn dev
yarn build
yarn validate
yarn test:unit
Build notes:
yarn build runs SVG data generation before svelte-packageyarn validate runs linting, TypeScript, and svelte-checksrc/lib/**/index.ts files are managed by the existing indexation workflow