Components
Every component is exported from @cherry-design-system/react and styled by one stylesheet. Import @cherry-design-system/react/styles.css once at the root of your app, then import components by name. See Installation for the full setup.
import "@cherry-design-system/react/styles.css";
import { Button } from "@cherry-design-system/react";
export default function Page() {
return <Button>Get started</Button>;
}Actions
Button
A button in five variants and three sizes, safe in Server Components.
ConfirmButton
Two-step destructive action that reveals a confirm and cancel pair.
IconButton
Square icon-only button with a required accessible name.
Link
Text link with an animated underline and an external arrow.
ToggleGroup
Segmented control for single or multiple selection.
Forms
AvatarDropzone
Round profile-picture picker by click, keyboard or drop.
Checkbox
Native checkbox with an indeterminate state.
Combobox
Text input with a filterable listbox.
Dropzone
Drag-and-drop file area around a real file input.
Field
Label, control, hint and error, wired for assistive tech.
Input
Single-line text input.
NumberField
Numeric input with decrement and increment buttons.
OTPInput
One-time code input with single-character slots.
Password
Password input with a show and hide toggle.
Radio
Native radio buttons, grouped with RadioGroup.
Range
Slider on a native range input.
Select
Native select with a styled picker where supported.
Textarea
Multi-line text input that grows with its content.
Toggle
On and off switch built on a native checkbox.
Date and time
Calendar
Month grid for single dates or ranges.
DatePicker
Input-like trigger that opens a calendar.
DateTimePicker
Day and time in one popover.
TimePicker
Time trigger with a list of slots or hour and minute columns.
Layout
Card
Surface for grouping content, with an icon, title and description.
Container
Centered page column with responsive padding.
Flex
Responsive flexbox row or column, plus Stack.
Grid
Equal-column CSS grid, plus Col for spanning cells.
Separator
Horizontal or vertical rule, optionally labelled.
Navigation
Breadcrumb
Trail from the root to the current page.
Menu
Menu button with a list of actions anchored to its trigger.
NavPill
Top navigation pill with a sliding highlight and route tracking.
Pagination
Numbered or compact page navigation, as links or buttons.
Sidebar
App sidebar with groups, badges and a collapsed icon rail.
Stepper
Progress through a multi-step flow.
Tabs
Pill or underline tabs with keyboard navigation.
Overlays
Modal
Modal dialog on the native dialog element.
Popover
Floating panel opened with popoverTarget, no JavaScript needed.
SearchDialog
Command-palette search with grouped results.
Sheet
Panel that slides in from an edge of the screen.
Toast
Transient notifications with show, update and promise.
Tooltip
Short hint on hover and keyboard focus.
Feedback
Badge
Status pill.
Banner
Full-width announcement bar that can be dismissed.
Callout
Inline box for supplementary, cautionary or critical notes.
EmptyState
Placeholder for an empty list, no results or a first run.
Progress
Linear progress bar, determinate or indeterminate.
Skeleton
Loading placeholder with a shimmer.
Spinner
Spinning loader.
Tag
Value chip, optionally removable.
Data display
Accordion
Stack of collapsible sections.
Avatar
Image, initials or icon with a status dot, plus AvatarGroup.
CodeBlock
Framed code listing with a header, copy button and line numbers.
InlineCode
Inline code chip in the mono type.
Kbd
Keyboard key chip.
Prose
Typography for rendered markdown and CMS content.
Snippet
One-line command with a copy button.
StatCard
Metric tile with a delta and an optional sparkline.
Table
Native table in a rounded, scrollable frame.
ThemeToggle
System, light and dark segmented switch.