Back to preview

Component gallery

Button

Dialog

Popover

Select

Switch

Last change: No change yet.

Light appearance

accent, defaultOnOff
accent, smOnOff
neutral, defaultOnOff
neutral, smOnOff
disabledOffOn

Dark appearance

accent, defaultOnOff
accent, smOnOff
neutral, defaultOnOff
neutral, smOnOff
disabledOffOn

Name, click and slots

onClick calls preventDefault. Clicks received: 0. State stays Off.
className (mx-2) on the button, trackClassName (w-10) and thumbClassName (mt-px) on the inner spans.

Right to left

Tooltip

SegmentedControl

Tabs

First panel
First panel

Toast

Press Alt+T to expand the stack and focus the list, and Escape to collapse it.

Levels

Variants

Options

Top-center-content position

Content column

Vendored Sonner helpers (styled)

Global manager

Provider unmounted

Toast content

info toast
Short example text.
success toast
warning toast
danger toast
successNeutral
Short example text.
successSolid
Short example text.
dangerSolid
Short example text.
No leading icon

Nested theme panels

Right to left

ChatComposer

Ready

Working

Working…

Error

Unable to complete this action.

ChatThread

  1. Where do I find the component source?
  2. Open a component page for its registry command, demo source and TypeScript props.

Empty

Write a message to start the conversation.