API reference
Components
Browse the public React components. Each reference includes props derived from TypeScript and an example using the package.
No components match your search.
Layout primitives
- BleedOffsets surrounding padding on logical axes
- ColumnArranges content in columns with configurable gaps.
- GridArranges content in columns with configurable gaps.
- InlineArranges items in a wrapping horizontal flow.
- RowArranges content in columns with configurable gaps.
- StackArranges content vertically using a spacing token.
Content primitives
- BlockquoteSets off a quotation and its attribution.
- DividerA semantic or decorative divider
- EmojiGives an emoji an accessible text label.
- HeadingApplies the heading scale with an independent semantic level.
- ListRenders an ordered or unordered list.
- ListItemRenders an ordered or unordered list.
- TextApplies the body or small text scale to semantic text.
Components
- AccordionGrouped disclosure panelsPreview
- AccordionContentHolds the content revealed by a disclosure.Preview
- AccordionItemGroups a trigger and a content panel in an accordion.Preview
- AccordionTriggerToggles a disclosure using a native summary element.Preview
- AspectRatioFixed-ratio media framePreview
- AttachmentDisplays a file or supporting item associated with a message.Preview
- AvatarDisplays a portrait in a circular frame.
- BadgeLabels an item with a compact semantic status.
- BreadcrumbItemRepresents a single location in a breadcrumb trail.Preview
- BreadcrumbLinkLinks to a parent location in a breadcrumb trail.Preview
- BreadcrumbPageMarks the current location in a breadcrumb trail.Preview
- BreadcrumbsBreadcrumb navigationPreview
- ButtonTriggers an action or submits a form.
- ChatBubbleStyles message content with a neutral or accent surface.Preview
- ChatComposerSubmits the contents of a message form to the application.Preview
- ChatComposerActionsArranges attachment, submit, and other composer actions.Preview
- ChatMessageGroups an authored turn and aligns it by participant.Preview
- ChatMessageAuthorLabels the author of a message.Preview
- ChatThreadDisplays a scrollable thread that follows new messages at the live edge.Preview
- CheckboxLets a user toggle a labelled form option.
- CitationLinks a message to a supporting source.Preview
- CodeDisplays inline code or a preformatted code sample.
- CodeBlockDisplays preformatted code with an optional label and actions.
- CollapsibleNative disclosure componentsPreview
- CollapsibleContentHolds the content revealed by a disclosure.Preview
- CollapsibleTriggerToggles a disclosure using a native summary element.Preview
- EmptyStateEmpty state layoutPreview
- FieldForm field layout, descriptions, and errorsPreview
- FieldDescriptionProvides supporting text that a form control can reference.Preview
- FieldErrorProvides an error message that a form control can reference.Preview
- ImageDisplays a responsive image with alternative text.
- InputCollects a single line of input with optional validation styling.
- KeyboardDisplays a key or keyboard shortcut.
- LabelAssociates visible text with a form control.
- LozengeDisplays a short status label with a semantic color.
- MessageDisplays contextual feedback in a shaded surface.
- ModalPresents a dialog with modal focus and dismiss behavior.
- ModalBodyPresents a dialog with modal focus and dismiss behavior.
- ModalFooterPresents a dialog with modal focus and dismiss behavior.
- ModalHeaderPresents a dialog with modal focus and dismiss behavior.
- OverlayDisplays a viewport backdrop for overlay content.
- PaginationComposable pagination controlsPreview
- PaginationButtonChanges a page through an application callback.Preview
- PaginationItemGroups a single control in the pagination list.Preview
- PaginationLinkNavigates to a page using a link.Preview
- PanelGroups related content on a padded surface.
- PopupNative non-modal popup
- ProgressNative progress indicatorPreview
- RadioSelects one option in a named group of choices.
- RangeLets a user choose a number within a bounded range.
- ReasoningSummaryShows a user-facing activity summary in a disclosure.Preview
- SelectPresents options using a native select control.
- SkeletonReserves space for content that is loading.
- SpinnerIndicates a task with no known completion percentage.
- TabSwitches between related views inside one region.
- TabListSwitches between related views inside one region.
- TabPanelSwitches between related views inside one region.
- TabsSwitches between related views inside one region.
- TextAreaCollects multiline input with optional validation styling.
- ToggleSwitches a labelled setting on or off.
- TraceLists observable steps in a task or conversation.Preview
- TraceStepShows a trace step’s status and optional duration and details.Preview
- UserCardComposable user profile cardPreview
- UserCardBodyArranges a profile’s identifying text and metadata.Preview