Components

These React component library docs cover 66 accessible React components with examples, props APIs, and usage guidelines.

Browse components by category, then open each page for live examples, props, and usage guidance across 66 documented components. New to Fragments? Start with Getting Started, customize tokens in the Theme Builder, and connect AI via MCP Tools.

Categories are grouped to make discovery faster when you are choosing the right component for a new feature or validating alternatives in an existing screen.

FORMS

ButtonGroup

Groups related buttons together with consistent spacing and alignment. Useful for action bars, toolbars, and related button sets.

Button

Interactive element for user actions and form submissions

Checkbox

Binary toggle for form fields. Use for options that require explicit submission, unlike Switch which takes effect immediately.

Chip

Interactive pill-shaped element for filtering, selecting, and tagging. Supports single and multi-select via Chip.Group.

Combobox

Searchable select input that filters a dropdown list of options as you type. Supports single and multiple selection with chips.

ColorPicker

Color selection control with hex input and visual picker. Displays a swatch that opens a full color picker on click.

DatePicker

Date picker with calendar dropdown for selecting single dates or date ranges. Built on react-day-picker with seed-based theming.

Editor

Rich text editor with formatting toolbar, auto-save, and word count

Field

Compositional form field wrapper providing validation, labels, descriptions, and error messages. Use for advanced form needs beyond baked-in Input/Textarea props.

Fieldset

Groups related form fields with an accessible legend. Use to organize forms into logical sections.

Form

Form wrapper that handles server-side error distribution to Field components. Pairs with Field for complete form validation.

Input

Text input field for single-line user data entry

Listbox

Controlled listbox for search results, autocomplete dropdowns, and command menus. Provides Menu-like styling without requiring a trigger.

RadioGroup

Single selection from a list of mutually exclusive options

Select

Dropdown for choosing from a list of options. Use when there are more than 4-5 choices that would clutter the UI.

Slider

Range input control for selecting a numeric value within a defined range. Supports labels, value display, and custom step intervals.

Textarea

Multi-line text input for longer form content

Switch

Binary on/off switch for settings and preferences. Provides immediate visual feedback and is ideal for options that take effect instantly.

ToggleGroup

A group of toggle buttons where only one can be selected at a time. Useful for switching between views, modes, or options.

NAVIGATION

Breadcrumbs

Breadcrumb navigation showing the current page location within a hierarchy. Helps users navigate back through parent pages.

Command

A searchable command palette for quick actions. Combines an input with a filterable, keyboard-navigable list of actions.

Header

Composable header with slots for brand, navigation, search, and actions. Supports dropdown nav groups via Header.NavMenu. Designed for use within AppShell with responsive mobile support.

Link

Styled anchor element for navigation. Supports internal and external links with consistent visual treatment.

NavigationMenu

Rich navigation menu for site headers with dropdown content panels, animated viewport transitions, and automatic mobile drawer. Supports structured links with titles, descriptions, and icons.

Pagination

Page navigation for paginated data. Supports controlled/uncontrolled, page counts, and edge/sibling customization.

Sidebar

Responsive navigation sidebar with collapsible desktop mode and mobile drawer behavior.

Tabs

Organize content into switchable panels. Use for related content that benefits from a compact, navigable layout.

TableOfContents

Sticky sidebar navigation for long-form content. Renders heading links with active state highlighting for scroll spy integration.

Theme

Theme management system with provider, toggle, and hook pattern. Supports light, dark, and system modes with localStorage persistence.

VisuallyHidden

Hides content visually while keeping it accessible to screen readers. Essential for accessible icon-only buttons and supplementary text.

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 component card to view examples, a props table, usage guidelines, and related components. Start with common building blocks like Button, Dialog, Input, and Card.