@dillingerstaffing/strand-svelte
v0.17.4
Published
Strand UI - Svelte component library built on the Strand Design Language
Maintainers
Readme
@dillingerstaffing/strand-svelte
Svelte component library built on the Strand Design Language. 34 components. Zero-runtime CSS. WCAG 2.2 AA.
Quick Start
npm install @dillingerstaffing/strand @dillingerstaffing/strand-svelteImport CSS in your app entry point:
@import '@dillingerstaffing/strand/css/reset.css';
@import '@dillingerstaffing/strand/css/tokens.css';
@import '@dillingerstaffing/strand/css/base.css';
@import '@dillingerstaffing/strand-svelte/css/strand-ui.css';Use components:
<script>
import { Button, Card, Stack, Input } from '@dillingerstaffing/strand-svelte'
</script>
<Card variant="elevated" padding="lg">
<Stack gap={4}>
<Input placeholder="Enter your email" />
<Button variant="primary">Get Started</Button>
</Stack>
</Card>Components
34 components across 7 categories. Every component includes all interaction states, keyboard navigation, ARIA compliance, and prefers-reduced-motion support.
Input: Button, Input, Textarea, Select, Checkbox, Radio, Switch, Slider, FormField Display: Card, Badge, Avatar, Tag, Table, DataReadout, CodeBlock Layout: Stack, Grid, Container, Divider, Section Navigation: Link, Tabs, Breadcrumb, Nav Feedback: Toast, Alert, Dialog, Tooltip, Progress, Spinner, Skeleton Surface: InstrumentViewport Animation: ScrollReveal
Same CSS, Different Framework
This package produces identical visual output to @dillingerstaffing/strand-ui (Preact/React). Same CSS classes, same ARIA attributes, same design tokens. The only difference is the framework binding.
Links
Created by Dillinger Staffing
