Components
66 parts
Actions
Five variants and sizes, one source of truth.
A container that groups related buttons together with consistent styling.
An icon or a chip that copies a value, then shows a check.
Press and hold to confirm a destructive action.
A two-state button that can be either on or off.
A set of two-state buttons that can be toggled on or off.
A sun, moon and monitor button, or a sliding pill, that wipes the new theme out from the click.
Feedback
Filled, tinted and outlined labels, and a tone for severity.
Displays a callout for user attention.
Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
An indicator that can be used to show a loading state.
Use to show a placeholder while content is loading.
An opinionated toast component for Svelte.
Use the Empty component to display an empty state.
Data display
Initials that stand in for photos.
A country's flag from its ISO code, sized to the text beside it.
A small flag for a language code, with an optional label.
A brand logo at glyph size that falls back to the initial.
A versatile component for displaying content with media, title, description, and actions.
A label the user wrote: a grey rectangle at the chip radius, an optional mark, and a remove button with a 24px hit area.
A key cap for a shortcut, alone or as a group of keys.
Displays code, terminal output and diffs with an optional header, line numbers and a copy button.
A responsive table component.
A read-only table from columns and rows: right-aligned tabular figures, a footer row, a custom cell snippet and a sideways scroll below its minimum width.
Searchable, sortable client table with pagination, a loading skeleton and row arrows.
Layout
A surface with a header, content and footer.
Visually or semantically separates content.
Stacked sections that open one at a time.
An interactive component which expands/collapses a panel.
Augments native scroll functionality for custom, cross-browser styling.
Inputs
Renders an accessible label associated with controls.
Combine labels, controls, and help text to compose accessible form fields and grouped inputs.
A label, a hint or an error, and the control, with the message linked to it.
A text input component for forms and user data entry with built-in styling and accessibility features.
Add addons, buttons, and helper content to inputs.
Displays a form textarea or a component that looks like a textarea.
Accessible one-time password component with copy-paste functionality.
A control that allows the user to toggle between checked and not checked.
A set of checkable buttons, known as radio buttons, where no more than one of the buttons can be checked at a time.
A control that allows the user to toggle between checked and not checked.
An input where the user selects a value from within a given range.
A star rating you set, read back or lock, in two sizes.
Labels picked from the values already used.
Drop, click or paste files into a real file input, so a plain form post sends them.
A themed menu with grouped options.
The browser's own select, styled like the kit's fields.
A searchable list of choices: a Popover holding a Command.
A calendar component that allows users to select a date or a range of dates.
A button that opens a Calendar in a Popover and shows the picked date in words.
Overlays
A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
For sighted users to preview content available behind a link.
Displays rich content in a portal, triggered by a button.
Displays a menu to the user, such as a set of actions or functions, triggered by a button.
Displays a menu of actions triggered by a right click.
Dialog, alert dialog and sheet on one set of parts: header, body and a banded footer.
A modal dialog that interrupts the user with important content and expects a response.
Extends the Dialog component to display content that complements the main content of the screen.
A panel that slides in and can be dragged shut, on vaul-svelte.
Command menu for search and quick actions.
A command palette at popover scale: search, groups, hints and a footer.
Navigation
Tabs with a sliding indicator.
Tabs, filter or nav links on one bordered track, with a sliding pill, a badge note on a segment, an underline variant and an overflow menu.
Displays the path to the current resource using a hierarchy of links.
Pagination with page navigation, next and previous links.
The list-page toolbar row for a pane.
An app's side rail: header, grouped menu, badges and a footer, beside the page.