Skip to main content

Components

Browse the shipped @takeoff-ui/react-spar component surface. Each reference includes live examples, public props, compound parts, stable data attributes, and accessibility guidance where the component owns interaction behavior.

Actions & form controls​

ComponentUse it for
ButtonTriggering actions with loading, toggle, and icon support.
CheckboxSelecting multiple options or representing a mixed state.
DropdownPresenting contextual action menus from a trigger.
InputBuilding text inputs with labels, affixes, icons, chips, and actions.
LabelLabeling controls, sections, and compact metadata.
RadioChoosing one option from a mutually exclusive set.
SelectChoosing from a keyboard-accessible list with typeahead.
SwitchTurning a single setting on or off.
UploadSelecting and validating files with browse, drag-and-drop, and a list.
ComponentUse it for
AccordionOrganizing related details into collapsible sections.
BreadcrumbShowing the current location within a hierarchy.
TabsSwitching between related panels without leaving the task.

Feedback & status​

ComponentUse it for
AlertPresenting contextual success, warning, information, or danger messages.
BadgeDisplaying compact status, count, or category labels.
ChipRepresenting filters, selections, and removable values.
ProgressShowing determinate task or process completion.
SkeletonReserving layout while content is loading.
SpinnerCommunicating indeterminate loading work.
StepperGuiding users through a sequenced multi-step flow.
ToastShowing transient confirmations, alerts, and background task updates.
TooltipAdding short contextual information on hover or focus.

Content & overlays​

ComponentUse it for
CalendarPicking a day, a date range, or several dates from a month grid.
CardGrouping related content, summaries, and actions.
DialogHandling focused forms, confirmations, and blocking decisions.
DividerSeparating content sections with an optional aligned label.
DrawerShowing navigation, filters, or details over the current page.
PopoverDisplaying additional content or actions in a floating panel.
TableScanning, sorting, filtering, and paginating structured data.

Patterns​

Composed from the components above rather than shipped as one. There is no component to import — the page shows the composition, and the design system supplies the pieces it needs.

PatternUse it for
DatePickerPicking a date behind a trigger: Popover + Calendar, and for a typable field, useDatePicker.

Start with Composition & styling to learn the shared compound, slot, and customization model.