Skip to main content

Components

69 accessible React primitives with live previews, props APIs, and usage guidance, built on Base UI.

Search or jump to a category, then open a row for the live preview, props, and guidance. Every entry here is what MCP and the CLI treat as canonical when they govern a codebase built on this library.

69 components

Actions

Actions components
Name
Purpose
Status
ButtonTriggers an action — save, submit, delete, open.stable
ButtonGroupLays out related buttons in a row with one shared gap and alignment.stable
IconButtonRuns an action from an icon alone, for toolbars and table rows.stable
ToggleGroupPicks exactly one option from a short row of toggle buttons.stable

Inputs

Inputs components
Name
Purpose
Status
CheckboxSelects options that take effect when a form is submitted.stable
ChipPill control for filtering, multi-select, and removable tags.stable
ColorPickerSelects a color through a visual picker and hexadecimal input.stable
ComboboxFilters a list of options as the user types.stable
DatePickerSelects a date or date range from a calendar.stable
EditorEdits rich text with formatting, autosave, and a word count.stable
FieldComposes labels, descriptions, validation, and errors around a form control.stable
FieldsetGroups related form controls under an accessible legend.stable
FormDistributes server-side validation errors to its Field components.stable
InputCollects a single line of user-entered text.stable
ListboxShows a keyboard-navigable list of options with no trigger of its own.stable
RadioGroupSelects one option from a mutually exclusive set.stable
SelectOpens a list and returns the single option the user picks.stable
SliderSelects a numeric value within a defined range.stable
SwitchToggles a setting that takes effect immediately.stable
TextareaCollects multi-line text for longer form content.stable

Display

Display components
Name
Purpose
Status
AvatarShows who someone is — their photo, or their initials when there is none.stable
BadgeLabels a status, count, or category without pulling focus.stable
ChartPlots your data with tooltips, legends, and colors that track the theme.stable
CodeBlockShows code with syntax colors, a copy button, and diff or collapse when you need them.stable
DataTableInteractive table — sort, select, expand, and click through rows of data.stable
IconSizes and colours any icon so it lines up with the text beside it.stable
ImageRenders a picture at a fixed shape with a built-in fallback when loading fails.stable
ListStacks items down the page with evenly spaced bullets, numbers, or icons.stable
MarkdownTurns a Markdown string into styled headings, lists, tables, code, and quotes.stable
TableRenders tabular data as a real HTML table — headers, rows, footer.stable
TextApplies the type scale to any text element, without hand-rolling font rules.stable

Feedback

Feedback components
Name
Purpose
Status
AlertTells the user what just happened, or what is about to.stable
EmptyStateExplains why an area is blank and offers the next step.stable
LoadingSignals that something is happening when you cannot say how long it will take.stable
ProgressShows how far along a task is, as a bar or a ring.stable
SkeletonHolds the shape of content that has not arrived yet.stable
ToastBriefly reports what just happened, without blocking the page.stable

Overlays

Overlays components
Name
Purpose
Status
DialogBlocks the page with one focused task the user must finish or dismiss.stable
DrawerSlides a panel in from a screen edge and dims the page behind it.stable
MenuDrops a list of actions below a trigger, driveable entirely by keyboard.stable
PopoverAnchors interactive content to a trigger without blocking the page.stable
TooltipShows a one-line hint when a control is hovered or focused.stable

Navigation

Navigation components
Name
Purpose
Status
BreadcrumbsShows where the user is and links back up the hierarchy.stable
CommandFilters a list of actions as the user types.stable
LinkNavigates somewhere else, inline or in chrome, with real link semantics.stable
NavigationMenuSite navigation whose dropdowns become a drawer on small screens.stable
PaginationSteps through content split across numbered pages.stable
TableOfContentsIndexes a long page and marks the section currently in view.stable
TabsSwaps between sibling panels without leaving the page.stable

Layout

Layout components
Name
Purpose
Status
AccordionStacks sections that expand one at a time, or several at once.stable
AppShellLays out header, sidebar, main, and optional aside as one responsive app frame.stable
BentoGridAsymmetric feature grid where tiles span different widths and heights.stable
BoxApplies spacing, background, border, and radius to any element.stable
CardGroups related content onto one bounded surface.stable
CollapsibleShows or hides one region of content behind a trigger.stable
GridArranges items into responsive columns with one shared gap.stable
HeaderComposes brand, navigation, search, and actions into one responsive app bar.stable
MainOwns a page's gutters, reading measure, and vertical rhythm.stable
ScrollAreaScrolls overflowing content with a slim scrollbar and optional edge fades.stable
SeparatorDraws a rule between sections of related content.stable
SidebarCollapsible navigation panel that turns into a drawer on mobile.stable
StackStacks children in a row or column with one consistent gap.stable

AI

AI components
Name
Purpose
Status
ConversationListStacks chat messages in a scroller that follows new arrivals.stable
MessageShows one chat message, styled by who sent it.stable
PromptCollects multi-line input for AI and chat interfaces.stable
ThinkingIndicatorShows that an AI response is being generated.stable

Utilities

  • ComponentDefaults Utility provider that sets the default control size for every control below it.
  • Theme Utility provider that gives everything below it a light, dark, or system color mode.
  • VisuallyHidden Keeps text in the accessibility tree while taking it off the screen.

FAQ

Are Fragments components accessible?

Yes. Fragments focuses on accessible React components and includes usage guidance, accessibility notes, and standards references on component pages where applicable.

Are these components built on Base UI primitives?

Yes. Fragments components are built on Base UI headless primitives and layered with Fragments styling, tokens, and metadata for AI-assisted workflows.

Where can I find examples and props?

Open any row to view a live preview, examples, a props table, usage guidance, and related components. Start with common building blocks like Button, Dialog, Input, and Card.

Next steps

  • Getting startedInstall the library, wrap the provider, and start composing.
  • AccessibilityWCAG 2.2 AA mapping, keyboard patterns, and testing coverage.