Components.
Live previews of every Svelte component from @dashfi/svelte. Tabs for code, anatomy, accessibility, and changelog. Drop-in for any consumer.
- Button Stable
The primary action surface. Seven variants, six sizes, with loading state. Renders as button or anchor.
- Input Stable
Text field. Hairline border, square corners, focus ring in jade. Supports debounce + masks.
- Textarea Stable
Multiline text input. Same border + focus treatment as Input.
- Label Stable
Form label. Pairs with any input via for/id.
- Checkbox Stable
Boolean input with checked / unchecked / indeterminate states.
- Switch Stable
Binary on/off control. Larger affordance than a checkbox — for settings, toggles.
- Radio Group Stable
Single-option selection within a group. Keyboard-navigable.
- Select Stable
Dropdown selection. Built on bits-ui — keyboard navigation, search, async.
- Toggle Stable
Single press-on/press-off button. Same hit target as Button, different state model.
- Toggle Group Stable
Group of toggles — single or multi-select. Segmented control pattern.
- Calendar Stable
Date picker. Month grid with prev/next navigation, keyboard-navigable.
- Multi Select Beta
Select multiple options from a list. Built-in search and chips for selected values.
- Phone Input Beta
International phone number input with country picker and validation.
- Tel Input Beta
Telephone input — country flag selector, format-as-you-type, validates per locale.
- Date Range Selector Beta
Pick a start + end date with presets (last 7d, MTD, QTD, YTD).
- Range Calendar Beta
Two-month calendar grid for selecting a date range. Underlies Date Range Selector.
- Form Beta
Composition primitives for accessible forms — labels, descriptions, errors, validation.
- Badge Stable
Short status or category label. Pill-shaped, monochrome variants.
- Avatar Stable
Circular user or merchant identity. Image with fallback initials.
- Pill Stable
Rounded label or count chip. Multiple semantic types: positive, negative, neutral, etc.
- Empty Stable
Empty-state container. Title, description, optional action — for "no data yet" surfaces.
- Separator Stable
Hairline divider. Horizontal or vertical, decorative or semantic.
- Skeleton Stable
Placeholder shape for loading states. Matches the eventual content silhouette.
- Code Block Beta
Display code with a monospace surface and a copy button.
- Alert Error Beta
Specialized error alert with retry/dismiss affordances. Wraps the destructive Alert variant.
- Indicator Beta
Small status dot. For unread counts, presence, alerts.
- Item Beta
List item primitive — icon, title, description, trailing action. The row in a list.
- Logo Stable
Dash.fi wordmark and app icon as Svelte components — Logo, LogoSmall, LogoApp.
- Merchant Logo Beta
Auto-fetched merchant logo with fallback. Powered by a logo CDN.
- Flow Lines Beta
Animated flowing lines — decorative brand element. Use sparingly on marketing surfaces.
- Magnetic Hover Beta
Decorative hover effect — element shifts subtly toward the cursor. For marketing buttons.
- Alert Stable
Inline messaging — success, warning, error, info. Always paired with an icon and short copy.
- Alert Dialog Stable
Confirmation modal — interrupts the user for a destructive or irreversible action.
- Dialog Beta
Generic modal. Use for forms, confirmations, content panels.
- Sheet Stable
Side drawer. Slides in from edge — top, bottom, left, right.
- Popover Beta
Floating panel anchored to a trigger. For filters, mini-forms, secondary actions.
- Tooltip Beta
Hover-revealed label. Single sentence; never essential information.
- Progress Stable
Determinate progress bar. 0–100% with optional label.
- Linear Loader Stable
Indeterminate horizontal progress. For loading states with no known duration.
- Loader Stable
Indeterminate spinner. Use inside buttons, inline UI.
- Spinner Beta
Compact spinning indicator. Smaller than Loader.
- Drawer Beta
Mobile-friendly slide-up panel. Pulls from the bottom edge with momentum scroll.
- Fullscreen Dialog Beta
Edge-to-edge modal — for long flows like KYC, statement download, partner agreement.
- Hover Card Beta
Floating card on hover — richer than a tooltip; for previews, mini-profiles.
- Toast (Sonner) Beta
Stacked transient notifications. Wraps svelte-sonner with our theme.
- Support Modal Beta
Help & support widget — Dash.fi-specific. Bound to the user session.
- Tabs Stable
Switch between panes of content. Underline indicator on the active tab.
- Accordion Stable
Collapsible sections. Single or multi-open mode.
- Collapsible Beta
Show/hide a single content block. Building block for accordions and disclosure UI.
- Breadcrumb Stable
Hierarchical trail. Home → Section → Subsection → Current.
- Pagination Beta
Paged navigation for long lists. First / prev / pages / next / last.
- Pagination Wrapper Beta
Pagination with a page-size Select and optional total count.
- Sidebar Beta
The authenticated-app navigation shell — collapsible (icon / offcanvas), auto-swaps to a Sheet on mobile, keyboard shortcut (Cmd/Ctrl+B). Family of 20+ sub-components: Sidebar, SidebarProvider, SidebarInset, SidebarTrigger, SidebarMenu, SidebarGroup, SidebarHeader/Footer/Rail/Separator/Input.
- Dropdown Menu Beta
Contextual action menu attached to a trigger button.
- Scroll Area Beta
Custom-styled scrollbar. Replaces native browser scrollbar for visual consistency.
- Command Beta
Cmd+K palette. Searchable list of actions. Built on bits-ui.
- Sub Navigation Beta
In-page section nav with active-state binding. Used inside settings, profile, account.
- Table Beta
Basic semantic table — Table, TableHeader, TableBody, TableRow, TableCell, TableHead.
- Enhanced Table Beta
Feature-rich table — sorting, filtering, pagination, column controls. Built on @tanstack/table-core.
- Data Table Beta
Headless data-table utilities. Use to compose your own table — sorting, paging, filtering hooks.
- Table Filters Beta
Pre-built filter UI — search, date range, multi-select facet. Drops into table toolbars.