svelte-simple-ui
v0.1.0
Published
A minimal, accessible, tree-shakeable Svelte UI + infra library
Maintainers
Readme
svelte-simple-ui
A minimal, accessible, tree-shakeable Svelte UI + infra library.
Quickstart
npm install svelte-simple-uiNote: this package lists svelte as a peer dependency. Install a compatible Svelte runtime in your project (for example npm install svelte@^4).
Usage
<script lang="ts">
import { Button, ResponsiveImage } from 'svelte-simple-ui';
</script>
<Button variant="primary">Click me</Button>SSR notes
- The library guards window/document access. Use prefetch/hydration helpers in SvelteKit as shown in the docs.
Performance goals
- Per-component gzipped target < 20KB (measured with scripts/measure-bundle.js)
