Components
Each one is a single file you own. Copy it, or install it with the shadcn CLI.
- AccordionSections that open to show more. Separated by space, not lines, in five styles from quiet lists to frosted glass.
- ButtonActions people press. The standard set, plus buttons that confirm on hold, report their own result, or reveal their label. Three show a download as it runs, and one splits like liquid into the actions it holds.
- Destination CardA photo card for a trip. The flight sits over the photo, and the buttons at the bottom switch places: the photo blurs into the next one and the route draws itself again.
- CarouselPhotos you drag, flick, sweep or arrow through: a row with depth, a fanned hand, a rising diagonal, a spiral, a column that warps at the edges, thumbnails over a full-bleed photo, and a pager that counts down in each photo's colour.
- CheckboxChoices that wait to be submitted: single boxes, whole cards, to-do items and compact chips.
- CommandA search palette over the page. Type to filter, move with the arrow keys or the pointer, and press Enter to choose. It is this site's search.
- Copy FieldWays to copy a value: a field, a labelled button, an install command per package manager, and a hidden secret.
- Segmented ControlPick one of a few options that are all visible at once. Filled, underlined, icon-only or expanding.
- SidebarApp navigation along the left edge, from a full collapsible sidebar to a single rail or a menu behind a button. Eight variants, each one file.
- SliderPick a value by dragging. All built on the native range input, so keyboards and screen readers work out of the box.
- SwitchOn/off settings that take effect immediately. Four switches with different ways of showing their state.
- Text FieldInputs for words, numbers and codes, each with its label, hint and error handled.
- Theme ToggleSwitch between light and dark: a one-click toggle with page transitions, or a picker that can follow the system.
- ToastShort messages that confirm, report progress or offer an undo, then leave on their own. Five variants, each a single file.
- TooltipSmall labels and previews that appear on hover and focus, from plain names to cards with links inside.