Esc

Components

All components Every component, with search. Accordion Sections that expand and collapse, one at a time or several. Alert A highlighted message, optionally dismissible. Avatar A person's picture, with initials when there is none. Avatar group Overlapping avatars with a "+N" count for the rest. Badge A small status label. Banner A dismissible strip across the top of a page. Breadcrumb The path to the current page, collapsing long trails. Button Buttons in every variant and size, with icons and a loading state. Button to A button that submits a one-off form, like Rails' button_to. Card A bordered container with header, content and footer. Checkbox A checkbox with label, standalone or bound to a form builder. Collapsible A section that opens and closes under its trigger, like a branch of a nav tree. Data grid A sortable, filterable, server-paged table on AG Grid. Date picker A typed date field with a calendar, on Cally. Dialog A modal dialog on the native <dialog> element. Divider A horizontal or vertical rule, optionally labelled. Form field A label, hint and error message wired to any form control. Icon A Lucide icon. Image An image with consistent sizing and corner radius. Input A text field with label, hint and error message, standalone or with a form builder. Input group A text field with addons before or after it. Label A form label with a required marker. Link A link styled as text or as a button. Menu A dropdown menu with keyboard navigation. Pagination Page links for a long list, from a Pagy object. Password input A password field with a show/hide toggle. Popover Floating content anchored to a trigger. Radio group A set of radio buttons. Native select The browser's own select, styled closed; best for phones' system pickers. Select A styled dropdown with keyboard navigation and type-ahead, posting like a native select. Sheet A panel that slides in from an edge of the screen. Sidebar A collapsible application sidebar with groups and menus. Spinner A loading indicator. Switch An on/off toggle. Table A styled table with header, rows and caption. Table of contents An "On this page" list that follows the reader's scroll. Tabs Tabbed panels with keyboard navigation. Text Body text in set sizes, weights and tones. Textarea A multi-line text field with label, hint and error, that can grow with its text. Theme toggle A light/dark/system theme switcher. Tooltip A hint shown on hover and focus. Typography Headings, lead, muted, code and blockquote text styles.

Components

42 components, each with live examples and the exact list of what velvetkit:add copies.

Showing 42

Accordion

Sections that expand and collapse, one at a time or several.

Stimulus 3 examples

Alert

A highlighted message, optionally dismissible.

Stimulus 4 examples

Avatar

A person's picture, with initials when there is none.

4 examples

Avatar group

Overlapping avatars with a "+N" count for the rest.

3 examples

Badge

A small status label.

3 examples

Banner

A dismissible strip across the top of a page.

Stimulus 3 examples

Breadcrumb

The path to the current page, collapsing long trails.

5 examples

Button

Buttons in every variant and size, with icons and a loading state.

8 examples

Button to

A button that submits a one-off form, like Rails' button_to.

3 examples

Card

A bordered container with header, content and footer.

5 examples

Checkbox

A checkbox with label, standalone or bound to a form builder.

3 examples

Collapsible

A section that opens and closes under its trigger, like a branch of a nav tree.

2 examples

Data grid

A sortable, filterable, server-paged table on AG Grid.

Stimulus ag-grid-community 0 examples

Date picker

A typed date field with a calendar, on Cally.

Stimulus cally 2 examples

Dialog

A modal dialog on the native <dialog> element.

Stimulus 8 examples

Divider

A horizontal or vertical rule, optionally labelled.

3 examples

Form field

A label, hint and error message wired to any form control.

3 examples

Icon

A Lucide icon.

2 examples

Image

An image with consistent sizing and corner radius.

2 examples

Input

A text field with label, hint and error message, standalone or with a form builder.

4 examples

Input group

A text field with addons before or after it.

1 example

Label

A form label with a required marker.

3 examples

Link

A link styled as text or as a button.

3 examples

Menu

A dropdown menu with keyboard navigation.

Stimulus @floating-ui/dom 2 examples

Pagination

Page links for a long list, from a Pagy object.

1 example

Password input

A password field with a show/hide toggle.

Stimulus 1 example

Popover

Floating content anchored to a trigger.

Stimulus @floating-ui/dom 5 examples

Radio group

A set of radio buttons.

3 examples

Native select

The browser's own select, styled closed; best for phones' system pickers.

2 examples

Select

A styled dropdown with keyboard navigation and type-ahead, posting like a native select.

Stimulus @floating-ui/dom 5 examples

Sheet

A panel that slides in from an edge of the screen.

Stimulus 4 examples

Sidebar

A collapsible application sidebar with groups and menus.

Stimulus 4 examples

Spinner

A loading indicator.

2 examples

Switch

An on/off toggle.

3 examples

Table

A styled table with header, rows and caption.

3 examples

Table of contents

An "On this page" list that follows the reader's scroll.

Stimulus 2 examples

Tabs

Tabbed panels with keyboard navigation.

Stimulus 4 examples

Text

Body text in set sizes, weights and tones.

3 examples

Textarea

A multi-line text field with label, hint and error, that can grow with its text.

4 examples

Theme toggle

A light/dark/system theme switcher.

Stimulus 2 examples

Tooltip

A hint shown on hover and focus.

Stimulus @floating-ui/dom 4 examples

Typography

Headings, lead, muted, code and blockquote text styles.

4 examples