Design System Playground
Every @stnd/ui component and design token in one place. A living
quality check — flip themes in the Lab and watch everything update.
Accordion
Is it accessible?
Yes. It adheres to the WAI-ARIA design pattern.
Is it styled?
Yes. It comes with default styles that matches the other components' aesthetic.
Is it animated?
Yes. It's animated by default, but you can disable it if you prefer.
Avatar
Badge
Card
Login to your account
Enter your details below to login to your account
Meeting Notes
Transcript from the meeting with the client.
Client requested dashboard redesign with focus on mobile responsiveness.
- New analytics widgets for daily/weekly metrics
- Simplified navigation menu
- Dark mode support
- Timeline: 6 weeks
- Follow-up meeting scheduled for next Tuesday
Is this an image?
This is a card with an image.
Header and Content
This is a card with a header and a content.
Header + Content + Footer
This is a card with a header, content and footer.
Skeleton
Table
| Invoice | Status | Method | Amount |
|---|---|---|---|
| INV001 | Paid | Credit Card | $250.00 |
| INV002 | Pending | PayPal | $150.00 |
| INV003 | Unpaid | Bank Transfer | $350.00 |
| INV004 | Paid | Paypal | $450.00 |
| INV005 | Paid | Credit Card | $550.00 |
| INV006 | Pending | Bank Transfer | $200.00 |
| INV007 | Unpaid | Credit Card | $300.00 |
| Total | $2,500.00 | ||
Tooltip
Toast
Lightweight notification system. Dispatches a custom toast event
— no framework needed. The Toast component listens globally and
renders items in a fixed container at the top of the viewport.
Scroller
A fixed scroll-progress bar at the very top of the page. It's already active on this page — scroll down and watch the thin line fill. No configuration needed; it's mounted automatically by the Base layout.
The bar at the top of this page is the Scroller. It uses window.scrollY and the document height to compute a 0–100% fill width, rendered as a glassmorphic
strip with a glow shadow.
Example: 60% through page
Button
Checkbox
By clicking this checkbox, you agree to the terms and conditions.
Form
Input
Label
Radio Group
Slider
Switch
Textarea
Type your message and press enter to send.
Dialog
Dialog Manager
Programmatic confirmation dialogs via a Svelte store. Call confirm({ title, description }) from any script — it returns a Promise<boolean>. Mount DialogManager once in the layout; it handles rendering.
Popover
Dimensions
Set the dimensions for the layer.
Select
Combobox
Context Menu
Right-click (or long-press) the cards below. The menu is viewport-aware — try near screen edges.
Hue Palette
Every hue derived from the foreground seed via OKLCH offsets.
red orange yellow green cyan blue magenta Semantic Colors
Status, feedback, and UI signal colors.
success warning error info accent link Foreground Tones
--color-foreground --color-muted --color-subtle --color-border --color-background Surface Elevations
--color-surface-lower --color-surface-lowest --color-surface-low --color-surface --color-surface-high --color-surface-highest --color-surface-higher Colored Text
Each hue as body text on the page background. Verify every color remains legible at reading size.
The quick red fox. 0123456789
The quick orange fox. 0123456789
The quick yellow fox. 0123456789
The quick green fox. 0123456789
The quick cyan fox. 0123456789
The quick blue fox. 0123456789
The quick magenta fox. 0123456789
The quick success fox. 0123456789
The quick warning fox. 0123456789
The quick error fox. 0123456789
The quick info fox. 0123456789
The quick accent fox. 0123456789
The quick link fox. 0123456789
Button Palette
All variants and every palette hue. Flip themes in the Lab to verify contrast.
Badge Palette
Filled, secondary, and outline variants across all hues.
Alert Palette
Semantic alert banners. Border, background tint, and text must all remain readable.
Real-World Patterns
Typical UI patterns combining color with text and backgrounds.
Type Scale
6xl
Ag
5xl
Ag
4xl
Ag
3xl
Ag
2xl
Ag
xl
Ag
lg
Ag
base
Ag
sm
Ag
xs
Ag
2xs
Ag
3xs
Ag
Sans
Inter — rmts
Everyone has the right to freedom of thought, conscience and religion; this right includes freedom to change his religion or belief.
Serif
Source Serif 4
No one shall be subjected to arbitrary arrest, detention or exile. Everyone is entitled in full equality to a fair and public hearing.
Monospace
IBM Plex Mono
No one shall be held in slavery or servitude; slavery and the slave trade shall be prohibited in all their forms.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Spacing Tokens
All spacing is based on --baseline (1rlh).
--space-d8 --space-d6 --trim --space-d4 --leading --space-d3 --space-d2 --space-half --space --space-2 --space-3 --space-4 --space-6 --space-8 --space-12 Content Measure
Max content widths for readability.
--line-width-xs --line-width-sm --line-width-md --line-width-lg --line-width-xl Shadows
Raised
--shadow-raised Default surface Ambient
--shadow Subtle drop shadow Large
--shadow-lg Ambient + lift Extra Large
--shadow-xl Ambient + lift + glow Glow
--shadow-glow Accent-colored glow Inset
--shadow-inset Pressed state Ring
--shadow-ring 1px inset border Easing & Speed Lab
Visualize and compare the transition timing functions and durations
available in the framework. Pick a preset or define a custom
cubic-bezier, adjust the duration, then hit Play.
transition: all 0.5s ease;