# PeakUI Documentation > Accessible React components built on React Aria Components and Tailwind CSS v4, styled with BEM classes and CSS custom properties. PeakUI (`@peakui/react` 0.1.1) is an open-source React component library. Behavior and accessibility come from [React Aria Components](https://react-aria.adobe.com/); styles live in `@peakui/styles` as plain CSS on top of [Tailwind CSS v4](https://tailwindcss.com/). **What to know before writing code:** - Import everything from the package root: `import {Button} from "@peakui/react"`. There are no deep imports. - Import Tailwind before the PeakUI stylesheet: `@import "tailwindcss";` then `@import "@peakui/styles";`. - Components are compound: `TextField` is the root; `Label`, `Input`, `Description` and `FieldError` are its children. - Props follow React Aria: `isDisabled`, `isPending`, `onPress`. There is no `classNames` or `as` prop; `Button` has no `color` prop, use `variant`. - React 19 or later. There is no provider component; the theme is CSS. ## Machine-readable resources - [All component pages as one file](https://peakui.dev/llms-components.txt) - [All guides as one file: every page that is not a component page](https://peakui.dev/llms-patterns.txt) - [Pages index (JSON): every component and guide, with links to each page](https://peakui.dev/api/components) - Any documentation page as markdown: append `.md` to its URL, or request it with `Accept: text/markdown`. ## Documentation Index ### Getting Started - [Animation](https://peakui.dev/en/docs/react/getting-started/animation): The easing and animation tokens, and how a component animates a state - [Colors](https://peakui.dev/en/docs/react/getting-started/colors): Every color role in the theme, with the token and the utility that reach it - [Composition](https://peakui.dev/en/docs/react/getting-started/composition): How PeakUI components are assembled - compound parts, field composition, the render prop and reusing styles on your own elements. - [Dark Mode](https://peakui.dev/en/docs/react/getting-started/dark-mode): Switch PeakUI to its dark theme with a class or a data attribute on the document root. - [Styling](https://peakui.dev/en/docs/react/getting-started/styling): The ways to restyle a PeakUI component - class names, state selectors, BEM classes, component variables and variant functions. - [Theming](https://peakui.dev/en/docs/react/getting-started/theming): PeakUI is themed with CSS custom properties. Override a token and every component that uses it follows. - [Design Principles](https://peakui.dev/en/docs/react/getting-started/design-principles): The ten principles behind PeakUI's API, accessibility and styling decisions. - [Quick Start](https://peakui.dev/en/docs/react/getting-started/quick-start): Install PeakUI, import its styles in the right order and render your first component. - [Agent Skills](https://peakui.dev/en/docs/react/getting-started/agent-skills): Install the PeakUI skill so your AI coding agent writes correct PeakUI code. - [LLMs.txt](https://peakui.dev/en/docs/react/getting-started/llms-txt): Machine-readable versions of the PeakUI documentation for AI coding assistants. - [MCP Server](https://peakui.dev/en/docs/react/getting-started/mcp-server): Give your AI assistant direct access to the PeakUI documentation. - [Introduction](https://peakui.dev/en/docs/react/getting-started): PeakUI is a React component library built on React Aria Components and Tailwind CSS v4, styled with BEM classes and CSS custom properties. ### Components - [All Components](https://peakui.dev/en/docs/react/components): Every component available in PeakUI, grouped by purpose. - [ButtonGroup](https://peakui.dev/en/docs/react/components/button-group): Groups related buttons into one connected control - [Button](https://peakui.dev/en/docs/react/components/button): A pressable button with seven visual variants, three sizes, and disabled and pending states. - [CloseButton](https://peakui.dev/en/docs/react/components/close-button): An icon-only dismiss control with a built-in glyph and label - [SegmentedControl](https://peakui.dev/en/docs/react/components/segmented-control): Picks one option from a small set, with an indicator that slides to the chosen segment - [ToggleButtonGroup](https://peakui.dev/en/docs/react/components/toggle-button-group): Groups toggle buttons for single or multiple selection - [ToggleButton](https://peakui.dev/en/docs/react/components/toggle-button): A two-state button for on/off and selected states - [ContextMenu](https://peakui.dev/en/docs/react/components/context-menu): Menu opened by right-click, long-press or keyboard - [Dropdown](https://peakui.dev/en/docs/react/components/dropdown): Dropdown menu triggered by a button - [ListBox](https://peakui.dev/en/docs/react/components/list-box): A listbox displays selectable options - [Menu](https://peakui.dev/en/docs/react/components/menu): Inline menu that is always visible - [TagGroup](https://peakui.dev/en/docs/react/components/tag-group): A focusable list of selectable and removable tags - [ColorArea](https://peakui.dev/en/docs/react/components/color-area): Two-channel color selection on a gradient area - [ColorField](https://peakui.dev/en/docs/react/components/color-field): Text field for editing a hex color - [ColorInputGroup](https://peakui.dev/en/docs/react/components/color-input-group): Hex input with a swatch prefix or suffix - [ColorPicker](https://peakui.dev/en/docs/react/components/color-picker): A composable color picker container with popover - [ColorSlider](https://peakui.dev/en/docs/react/components/color-slider): Slider for one color channel - [ColorSwatchPicker](https://peakui.dev/en/docs/react/components/color-swatch-picker): A list of color swatches to choose from - [ColorSwatch](https://peakui.dev/en/docs/react/components/color-swatch): A visual preview of a color value - [Slider](https://peakui.dev/en/docs/react/components/slider): Selects one or more values within a range - [Badge](https://peakui.dev/en/docs/react/components/badge): A small indicator anchored over another element, such as a count or a status dot - [Chip](https://peakui.dev/en/docs/react/components/chip): A compact label for statuses, filters and attributes - [DateField](https://peakui.dev/en/docs/react/components/date-field): Segmented field for typing a date - [TimeField](https://peakui.dev/en/docs/react/components/time-field): Segmented field for typing a time - [Alert](https://peakui.dev/en/docs/react/components/alert): A status message with an icon, title and description - [EmptyState](https://peakui.dev/en/docs/react/components/empty-state): A placeholder for content with nothing to show - [Meter](https://peakui.dev/en/docs/react/components/meter): Shows a quantity within a known range, such as disk usage - [ProgressBar](https://peakui.dev/en/docs/react/components/progress-bar): Shows determinate or indeterminate progress of an operation - [ProgressCircle](https://peakui.dev/en/docs/react/components/progress-circle): A circular indicator for determinate or indeterminate progress - [Skeleton](https://peakui.dev/en/docs/react/components/skeleton): A placeholder showing the shape of content that is still loading - [Spinner](https://peakui.dev/en/docs/react/components/spinner): A loading indicator in four sizes and five colors, announced to assistive technology as a status. - [CheckboxGroup](https://peakui.dev/en/docs/react/components/checkbox-group): Group of related checkboxes - [Checkbox](https://peakui.dev/en/docs/react/components/checkbox): Selectable box with label and indicator - [Description](https://peakui.dev/en/docs/react/components/description): Helper text for a form field, linked to the control so assistive technology reads it with the label. - [ErrorMessage](https://peakui.dev/en/docs/react/components/error-message): Error text displayed through a parent's error slot - [FieldError](https://peakui.dev/en/docs/react/components/field-error): A validation message for a form field, rendered only while the field is invalid. - [Fieldset](https://peakui.dev/en/docs/react/components/fieldset): Groups related form fields under a legend, with a slot for the actions that belong to them. - [Form](https://peakui.dev/en/docs/react/components/form): Validation-aware form wrapper - [InputGroup](https://peakui.dev/en/docs/react/components/input-group): An input or a text area with a prefix and a suffix inside one shared frame. - [InputOtp](https://peakui.dev/en/docs/react/components/input-otp): One-time password input for verification codes - [Input](https://peakui.dev/en/docs/react/components/input): A single-line text input, used on its own or as the control inside a TextField. - [Label](https://peakui.dev/en/docs/react/components/label): A text label for a form control, with required, invalid and disabled states. - [NumberField](https://peakui.dev/en/docs/react/components/number-field): Numeric input with stepper buttons - [RadioGroup](https://peakui.dev/en/docs/react/components/radio-group): Mutually exclusive radio buttons - [SearchField](https://peakui.dev/en/docs/react/components/search-field): Search input with icon and clear button - [Switch](https://peakui.dev/en/docs/react/components/switch): On and off toggle control - [TextField](https://peakui.dev/en/docs/react/components/text-field): A text input with a label, a description and validation, composed from separate parts. - [TextArea](https://peakui.dev/en/docs/react/components/textarea): Multiline text input - [Card](https://peakui.dev/en/docs/react/components/card): A content container with header, body and footer - [Separator](https://peakui.dev/en/docs/react/components/separator): Visually divide content sections - [Surface](https://peakui.dev/en/docs/react/components/surface): A themed surface level for content and nested controls - [Toolbar](https://peakui.dev/en/docs/react/components/toolbar): Groups controls with arrow key navigation - [AvatarGroup](https://peakui.dev/en/docs/react/components/avatar-group): Stacks or tiles avatars with an overflow count - [Avatar](https://peakui.dev/en/docs/react/components/avatar): Shows a profile image with a fallback - [Accordion](https://peakui.dev/en/docs/react/components/accordion): Vertically stacked expandable sections - [Breadcrumbs](https://peakui.dev/en/docs/react/components/breadcrumbs): Breadcrumb trail for hierarchical navigation - [DisclosureGroup](https://peakui.dev/en/docs/react/components/disclosure-group): Container coordinating multiple expanded disclosures - [Disclosure](https://peakui.dev/en/docs/react/components/disclosure): A collapsible section with a heading and a trigger - [Link](https://peakui.dev/en/docs/react/components/link): A styled navigation link with optional icon - [Pagination](https://peakui.dev/en/docs/react/components/pagination): Page navigation with numbered links - [Tabs](https://peakui.dev/en/docs/react/components/tabs): Tabbed sections with a scrolling tab list - [AlertDialog](https://peakui.dev/en/docs/react/components/alert-dialog): Modal dialog that demands an explicit answer - [Drawer](https://peakui.dev/en/docs/react/components/drawer): Edge-docked panel overlay with drag to dismiss - [Modal](https://peakui.dev/en/docs/react/components/modal): Modal dialog overlay for focused interactions - [Popover](https://peakui.dev/en/docs/react/components/popover): Overlay anchored to a trigger - [Sheet](https://peakui.dev/en/docs/react/components/sheet): Sheet component - [Toast](https://peakui.dev/en/docs/react/components/toast): Temporary notifications with auto-dismiss and stacking - [Tooltip](https://peakui.dev/en/docs/react/components/tooltip): Informative text on hover or focus - [Autocomplete](https://peakui.dev/en/docs/react/components/autocomplete): Selects a value from a searchable popover list - [Calendar](https://peakui.dev/en/docs/react/components/calendar): Month grid for choosing dates - [ComboBox](https://peakui.dev/en/docs/react/components/combo-box): Text input with a filterable list of options - [DatePicker](https://peakui.dev/en/docs/react/components/date-picker): Selects a date from a field or a popover calendar - [DateRangePicker](https://peakui.dev/en/docs/react/components/date-range-picker): Selects a date range from fields or a popover calendar - [Range Calendar](https://peakui.dev/en/docs/react/components/range-calendar): Month grid for choosing a date range - [Select](https://peakui.dev/en/docs/react/components/select): Selects one or more values from a collapsible listbox - [Kbd](https://peakui.dev/en/docs/react/components/kbd): Display keyboard shortcuts and key combinations - [Typography](https://peakui.dev/en/docs/react/components/typography): Headings, paragraphs and code with the type scale, weights and colors of the design system - [ScrollShadow](https://peakui.dev/en/docs/react/components/scroll-shadow): Shadows that reveal scrollable overflow at container edges ### releases - [All Releases](https://peakui.dev/en/docs/react/releases): Every PeakUI release — new features, fixes, and breaking changes. - [v0.0.1](https://peakui.dev/en/docs/react/releases/v0-0-1): Initial public release of @peakui/react and @peakui/styles.