Components
Components
Components
Native controls
4- Button
Displays an action or link with stable loading, success, and error states.
- Input
Text input with labels, helper text, leading and trailing adornments, visual variants, and native validation.
- Native Select
A select field that uses your browser and operating system's option picker.
- Textarea
Multi-line text input with labels, descriptions, and automatic resizing.
Inputs
12- Checkbox
A binary option presented as a labeled box.
- SvelteKit Astro RemixCombobox
A searchable dropdown that filters options as you type.
Drop your files here
File UploadFile uploads with progress, cancellation, retry, and animated completion.
- Number Field
Numeric input with native validation and composable step controls.
- −284OTP Field
One accessible input, presented as individual code cells.
- Radio Group
A group of mutually exclusive options.
- High Medium LowSelect
Single or multiple selection from a short, known option list.
- Volume 64Slider
Single-value and two-handle sliders with keyboard and RTL support.
- Switch
On/off toggle for system-level settings.
- Tag Input
Enter and validate removable tags with keyboard, paste, and form support.
- Toggle
A two-state button that is pressed or unpressed.
- Toggle Group
A row of toggles with shared selection state.
Forms
4Used for account updates.
FieldComposable labels, descriptions, and validation for native and custom form controls.
- Fieldset
Native form grouping with legends, descriptions, and disabled semantics.
- Form
A native form with submit, status, and error-summary parts that keep SvelteKit actions and remote forms intact.
- Label
A styled native label that names a form control.
Dates
4- September 2026
Sun Mon Tue Wed Thu Fri Sat 303112345678910111213141516171819202122232425262728293012345678910CalendarA composable calendar for choosing a single date.
- Publish date09/17/2026Date Picker
An editable date field with a calendar popup.
- Travel dates09/17/202609/23/2026Date Range Picker
Editable start and end dates with a shared calendar popup.
- September 2026
Sun Mon Tue Wed Thu Fri Sat 303112345678910111213141516171819202122232425262728293012345678910Range CalendarChoose a start and end date with keyboard navigation and a continuous range highlight.
Navigation
3- Breadcrumb
A trail of links showing the user's position in a hierarchy.
- Pagination
A compact pager that truncates with an ellipsis. Always shows the first and last page so users know how big the data set is.
Everything is up to date.
TabsSwitch between mutually-exclusive views with horizontal or vertical tabs and a sliding indicator.
Overlays
9Delete this workspace?
This cannot be undone.
Alert DialogA dialog that interrupts the user to confirm a consequential action.
- Right-click a fileOpen Duplicate DeleteContext Menu
A right-click menu of actions, sharing the dropdown menu's item set.
Add a domain
No DNS settings change.
DialogA dialog for focused tasks, forms, and details.
Text size
DrawerA modal panel that slides in from an edge of the screen and can be swiped away.
- alex@example.com Profile Billing SettingsDropdown Menu
A menu of actions anchored to a button, for user menus, row actions, and overflow buttons.
- @alexmorganAM
Alex Morgan
Design engineer
Hover CardA preview card that opens on hover or keyboard focus. Use it for user mentions, link previews, or definitions.
Project access
Anyone with the link can view.
PopoverA floating surface anchored to a trigger element.
Filters
Narrow the list.
SheetA modal side panel for navigation, filters, and forms. It slides in from the left or right edge.
- Pen PTooltip
Brief explanatory text on hover or focus.
Layout
7- Only invited members can open projects.Accordion
Stacked collapsible sections with single- and multi-open modes.
Team handbook
PublishedThe guides your team uses every day.
CardSurface container for grouping related content.
The export flow is ready for testing. Sam reviews keyboard navigation Friday.
CollapsibleA single panel that expands and collapses.
- Group
Connect related controls with separators and optional labels.
- Svelte 5 runes migrationDesigning the studio presetTailwind v4 token setupPagination active stateFigma plugin ideasRefactor command paletteScroll Area
A scroll container with themed scrollbars and optional overflow cues.
Workspace
Projects MembersSeparatorSemantic or decorative divider in either orientation.
Invoice Status Amount #1001 Paid$250 #1002 Pending$150 #1003 Paid$350 TableDisplay rows and columns with native table semantics.
Status and content
9Heads up
Add components from the command line.
AlertNotice strips for inline status, confirmation, and warnings.
- AMSRJLAvatar
An image with initials while it loads or when it fails.
- NewDraftLabelPublishedBadge
Compact labels for status, counts, and tags.
No components yet
Add one to start building.
Empty StateExplain why content is missing and give people a useful next step.
- Kbd
Inline keyboard-shortcut badge.
- Uploading files 64%Progress
Show how far along a task is. Determinate with value or indeterminate for unknown duration.
- Skeleton
Loading content without flicker or layout shift.
- Checking for updatesSpinner
An animated loading indicator for indeterminate work.
- Project notes
Preparing the release
Review the updated components first.
TypographySemantic document headings, text, inline code, and interface typography primitives.
Blocks
14- Code Block
Code block with syntax-highlighted snippets, a multi-language tab switcher, copy button, and an actions slot. Highlighting via highlight.js.
- Color Picker
A hex color picker with HSL, RGB or HSV channel controls and optional preset swatches.
- Type a command…Inbox New issue C ThemeCommand
A command palette dialog with fuzzy search and grouped results.
pnpm add @mielui/svelteCopy install commandCopy ButtonA button that copies text to the clipboard, with copy and copied states.
Invoice Status #1001 Paid#1002 PendingData TableComposable TanStack Table v9 presentation, with sorting, filtering, row selection, and pagination.
- src/auth.ts +1 −112 12 Unchanged line 12:
function getToken() {13 − Removed line 13:return store.token;13 + Added line 13:return session();File DiffA unified diff viewer with a file top bar, change counts, and highlighted rows.
- Folder Card
Present a collection as a folder with a cover, title tab, index, and count.
Edge cache rollout
Origin traffic fell by 38% with
cache_hit_agein range.MarkdownA safe GFM renderer for polished agent prose, tables, task lists, links, and code.
- 100
All synced
Just now
NotchA nonmodal panel attached to a viewport edge for short updates and ongoing activity.
- Opening remarks
- Roadmap review
- Design critique
Reorder ListReorder controlled items with pointer or keyboard input.
The workspace migration starts Tuesday at 09:00 UTC. Projects, comments, and files move together while read-only access stays available.
Show MoreClamp long content and reveal the rest on demand.
- Building 8.1s
- Running checks 3.4s
- Deploying
Task StepsNarrate ordered asynchronous work without noisy updates.
- The preview build completed.
Deployment ready
ToastTransient notifications fired from anywhere in your app.
- Toolbar
Composable keyboard toolbar with buttons, links, and selectable groups.
AI components
8- notes.md Completeplan.pdfAttachment
Local file selection with drop handling, constraints, and composable attachment states.
- notes.md Ready
- plan.pdf Ready
Message could not be sent.ComposerA composable prompt input with actions, submission state, and keyboard behavior built in.
- Summarize this report.Revenue grew 12% this quarter.What drove it?Conversation
An auto-following, accessible conversation viewport with empty and jump-to-latest states.
Assistant Three changes need review before Friday’s release.Copy responseMessageContent-first conversation messages with readable role-aware alignment and contextual actions.
- Answer could not be submitted.Question
An inline agent question that temporarily replaces the prompt composer with choice or free-text answers.
Compared the incident timeline with the last five deployments.
ReasoningA concise, expandable reasoning trace for AI assistant responses.
- Response Stream
AI response text with bounded arrival motion and natural line wrapping.
- Grep ComposerBash pnpm lintTool
Expandable AI tool calls designed for inline chat transcripts.
Chart components
4Monthly revenue and target month Revenue Target Jan 186 160 Feb 242 190 Mar 218 220 Apr 304 250 May 286 280 Jun 372 310 ChartBar, line, and area charts built from composable marks.
- 72 %Gauge
A circular meter for context, usage limits, storage, seats, and other bounded quantities.
- MayJunJulAugSepMonWedFriHeatmap
A contribution calendar for daily activity.
Sessions by acquisition channel Category Value Direct 1,240 Search 860 Referral 420 Pie ChartPie and donut charts with exact values, keyboard inspection, and composed labels.
Actions
3- Morph
A Svelte action that animates an icon or text when its value changes.
- 1,284Number Shuffle
A Svelte action that rolls digits as a numeric value changes.
- Shimmer
A Svelte action that sweeps a highlight across loading text or a placeholder.
const theme = 'daydream'; <Button>Save</Button>