Components
Real components from $lib/design-system — not
mockups. Props are strictly typed in types.ts.
Card
Six surfaces for different elevations and intents. `interactive` adds cursor + scale for clickable cards.
variant="base"
The quick brown fox jumps over the lazy dog.
variant="hover"
The quick brown fox jumps over the lazy dog.
variant="glass"
Backdrop-blur surface for overlays.
variant="feature"
The quick brown fox jumps over the lazy dog.
variant="interactive"
Hover me — lifts and scales.
variant="subtle"
The quick brown fox jumps over the lazy dog.
Badge
Inline status labels. Always badge-* — never hand-rolled pills.
Variants
primarysecondarysuccesswarningerrorglass
Input
One input style — rounded-xl, zinc border, sky focus ring.
Types & states
Widgets
Specialized components — shown live where they render standalone.
Response time
128 ms
Detections
1,024
Confidence 82%
Full inventory
Every exported component and its prop surface. Props are typed in $lib/design-system/types.
| Component | Surface |
|---|---|
| Button | 6 variants · 4 sizes · loading/disabled states |
| Card | 6 variants · highlight state |
| Badge | 6 variants |
| Input | 7 input types · disabled state |
| SectionContainer | width + padding presets |
| PageHeader | badge, title, gradient text, stats row |
| BackLink | navigation back link |
| InfoSection | titled info card with tags |
| StatusIndicator | detector status (6 states) |
| MetricCard | label + value + unit + icon |
| ConfidenceBar | progress bar with clamping |
| DetectorControls | sensitivity slider + start/stop |
| AlertPanel | alert list with severity styling |
| PermissionPrompt | device permission request card |
| UnsupportedBrowser | browser warning card |
| DesignSystemProvider | context injection for tokens/theme |