---
title: "Components — StyleX Blocks"
description: "Accessible React primitives styled with StyleX, for Ark UI and Base UI."
url: "https://stylexblocks.com/components/"
agent:
  instructions: "Use this search API to find relevant components and blocks across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://stylexblocks.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Components

122 accessible React primitives styled with StyleX. Each ships for Ark UI (default) and, where noted, Base UI. Links point to the Ark UI docs; swap `ark-ui` for `base-ui` in the URL for the Base UI variant.

## Display

- [Accordion](https://stylexblocks.com/components/ark-ui/accordion.md): Vertically stacked disclosure panels with outline, subtle, and enclosed variants. (Ark UI, Base UI, UI SDK)
- [Action Bar](https://stylexblocks.com/components/ark-ui/action-bar.md): A floating bulk-action toolbar that appears above the page when items are selected. (Ark UI, Base UI, UI SDK)
- [Avatar](https://stylexblocks.com/components/ark-ui/avatar.md): User portraits with image and initials fallback, rounded or circular, from 2xs to 2xl. (Ark UI, Base UI, UI SDK)
- [Badge](https://stylexblocks.com/components/ark-ui/badge.md): Label state and metadata with palette-aware solid, subtle, surface, and outline styles. (Ark UI, Base UI, UI SDK)
- [Breadcrumb](https://stylexblocks.com/components/ark-ui/breadcrumb.md): Hierarchical navigation trails with plain and underline link styles in three sizes. (Ark UI, Base UI, UI SDK)
- [Bubble](https://stylexblocks.com/components/ark-ui/bubble.md): Framed conversational surfaces using the same solid, subtle, surface, outline, ghost, and plain variants as Button and Badge, plus start/end alignment, grouping, and edge-anchored reactions. (Ark UI, Base UI, UI SDK)
- [Carousel](https://stylexblocks.com/components/ark-ui/carousel.md): Sliding panels with previous and next controls and clickable indicator dots. (Ark UI, Base UI, UI SDK)
- [Code Block](https://stylexblocks.com/components/ark-ui/code-block.md): Framed code panels with a title header, controls, and scrollable monospace content. (Ark UI, Base UI, UI SDK)
- [Collapsible](https://stylexblocks.com/components/ark-ui/collapsible.md): Show and hide a region of content behind a trigger, with a bare content slot to style freely. (Ark UI, Base UI, UI SDK)
- [Color Swatch](https://stylexblocks.com/components/ark-ui/color-swatch.md): Color chips with an alpha checkerboard, sized from 2xs to 2xl. (Ark UI, Base UI, UI SDK)
- [Data List](https://stylexblocks.com/components/ark-ui/data-list.md): Label and value pairs for metadata panels, with subtle and bold label emphasis. (Ark UI, Base UI, UI SDK)
- [Empty State](https://stylexblocks.com/components/ark-ui/empty-state.md): Zero-data placeholders with an accent indicator, title, description, and actions. (Ark UI, Base UI, UI SDK)
- [Grid List](https://stylexblocks.com/components/ark-ui/grid-list.md): Interactive row lists with a sticky header, hover states, and rounded rows. (Ark UI, Base UI, UI SDK)
- [Hover Card](https://stylexblocks.com/components/ark-ui/hover-card.md): Rich preview panels revealed from a trigger, in four padding sizes. (Ark UI, Base UI, UI SDK)
- [Icon](https://stylexblocks.com/components/ark-ui/icon.md): A sizing wrapper for inline SVG icons that inherits the current text color. (Ark UI, Base UI, UI SDK)
- [Icon Badge](https://stylexblocks.com/components/ark-ui/icon-badge.md): Squared icon containers in outline, solid, and subtle variants for feature lists and empty states. (Ark UI, Base UI, UI SDK)
- [Kbd](https://stylexblocks.com/components/ark-ui/kbd.md): Keyboard shortcut hints with raised, outline, subtle, and plain treatments. (Ark UI, Base UI, UI SDK)
- [List](https://stylexblocks.com/components/ark-ui/list.md): Ordered and unordered lists with native markers or custom icon indicators. (Ark UI, Base UI, UI SDK)
- [Marquee](https://stylexblocks.com/components/ark-ui/marquee.md): An infinitely scrolling strip with faded edges that pauses for reduced motion. (Ark UI, Base UI, UI SDK)
- [Menu](https://stylexblocks.com/components/ark-ui/menu.md): Dropdown command lists with items, group labels, keyboard shortcut hints, and separators. (Ark UI, Base UI, UI SDK)
- [Message](https://stylexblocks.com/components/ark-ui/message.md): Conversation rows with an avatar slot, header, footer, grouping, and start/end alignment around a Bubble surface. (Ark UI, Base UI, UI SDK)
- [Persona](https://stylexblocks.com/components/ark-ui/persona.md): Avatar with name, secondary label, and a presence badge or ring, from 2xs to 2xl. (Ark UI, Base UI, UI SDK)
- [Popover](https://stylexblocks.com/components/ark-ui/popover.md): Anchored panels with header, body, and footer slots in four padding sizes. (Ark UI, Base UI, UI SDK)
- [QR Code](https://stylexblocks.com/components/ark-ui/qr-code.md): Scannable code frames with a centered logo overlay, sized from 2xs to 2xl. (Ark UI, Base UI, UI SDK)
- [Sidebar Nav Item](https://stylexblocks.com/components/ark-ui/sidebar-nav-item.md): Sidebar navigation buttons with icon, label, and accent-tinted active state. (Ark UI, Base UI, UI SDK)
- [Skip Nav Link](https://stylexblocks.com/components/ark-ui/skip-nav-link.md): An accessibility link that stays visually hidden until keyboard focus reveals it. (Ark UI, Base UI, UI SDK)
- [Stat](https://stylexblocks.com/components/ark-ui/stat.md): Key figures with label, value, and help text in three value sizes. (Ark UI, Base UI, UI SDK)
- [Steps](https://stylexblocks.com/components/ark-ui/steps.md): Multi-step progress with numbered indicators, completion checks, and connecting separators. (Ark UI, Base UI, UI SDK)
- [Table](https://stylexblocks.com/components/ark-ui/table.md): Tabular data with line, inset, and outline treatments across three densities. (Ark UI, Base UI, UI SDK)
- [Tabs](https://stylexblocks.com/components/ark-ui/tabs.md): Switch between panels with line, enclosed, outline, pills, and ghost tab lists. (Ark UI, Base UI, UI SDK)
- [Tag](https://stylexblocks.com/components/ark-ui/tag.md): Compact labels for filtering and metadata with subtle, solid, outline, and surface variants. (Ark UI, Base UI, UI SDK)
- [Timeline](https://stylexblocks.com/components/ark-ui/timeline.md): Chronological events with indicators, connectors, and per-item content slots. (Ark UI, Base UI, UI SDK)
- [Tree View](https://stylexblocks.com/components/ark-ui/tree-view.md): Nested hierarchies with expandable branches, indent guides, and depth-aware padding. (Ark UI, Base UI, UI SDK)
- [Toolbar](https://stylexblocks.com/components/ark-ui/toolbar.md): A row of buttons, links, inputs and toggle groups with a single Tab stop and arrow-key navigation. (Ark UI, Base UI, UI SDK)
- [Navigation Menu](https://stylexblocks.com/components/ark-ui/navigation-menu.md): Site-header navigation whose triggers open rich link panels in a shared viewport that morphs between them. (Ark UI, Base UI, UI SDK)
- [Menubar](https://stylexblocks.com/components/ark-ui/menubar.md): A horizontal bar of application menus with arrow-key navigation between them, checkable items, and radio groups. (Ark UI, Base UI, UI SDK)
- [Context Menu](https://stylexblocks.com/components/ark-ui/context-menu.md): A menu that opens at the pointer on right-click or long-press, with items, shortcuts, checkable items, and separators. (Ark UI, Base UI, UI SDK)
- [Pagination](https://stylexblocks.com/components/ark-ui/pagination.md): Page navigation with prev/next triggers, sibling and boundary pages, and ellipses for long ranges. (Ark UI, Base UI, UI SDK)
- [Timer](https://stylexblocks.com/components/ark-ui/timer.md): Countdown and stopwatch with a large tabular readout and start, pause, resume and reset controls. (Ark UI, Base UI, UI SDK)
- [JSON Tree View](https://stylexblocks.com/components/ark-ui/json-tree-view.md): Explore JSON as an expandable tree with type-colored values, previews, and full keyboard navigation. (Ark UI, Base UI, UI SDK)
- [Table of Contents](https://stylexblocks.com/components/ark-ui/toc.md): Scroll-spy page navigation that tracks visible headings with a gliding active indicator. (Ark UI, Base UI, UI SDK)
- [Chart](https://stylexblocks.com/components/ark-ui/chart.md): Composable area, line, bar, sparkline, and category-bar data visualizations powered by TanStack Charts and StyleX. (Ark UI, Base UI, UI SDK)

## Feedback

- [Alert](https://stylexblocks.com/components/ark-ui/alert.md): Status banners for info, success, warning, and error with title, description, and indicator slots. (Ark UI, Base UI, UI SDK)
- [Dialog](https://stylexblocks.com/components/ark-ui/dialog.md): Modal windows with backdrop, positioner, and content slots in six widths. (Ark UI, Base UI, UI SDK)
- [Loading Overlay](https://stylexblocks.com/components/ark-ui/loading-overlay.md): Busy states that fill a container, cover it, or take over the screen while content loads. (Ark UI, Base UI, UI SDK)
- [Progress](https://stylexblocks.com/components/ark-ui/progress.md): Determinate progress bars with outline and subtle tracks in five sizes. (Ark UI, Base UI, UI SDK)
- [Progress Circle](https://stylexblocks.com/components/ark-ui/progress-circle.md): Circular determinate progress with a track, range, and centered value text. (Ark UI, Base UI, UI SDK)
- [Shimmer](https://stylexblocks.com/components/ark-ui/shimmer.md): A GPU-accelerated highlight sweep over inline text for streaming and busy labels. (Ark UI, Base UI, UI SDK)
- [Skeleton](https://stylexblocks.com/components/ark-ui/skeleton.md): Loading placeholders with pulse and shine animations that respect reduced motion. (Ark UI, Base UI, UI SDK)
- [Spinner](https://stylexblocks.com/components/ark-ui/spinner.md): A current-color loading indicator sized from inherit up to xl. (Ark UI, Base UI, UI SDK)
- [Status](https://stylexblocks.com/components/ark-ui/status.md): A palette-driven presence dot with a label, for system and user state. (Ark UI, Base UI, UI SDK)
- [Toast](https://stylexblocks.com/components/ark-ui/toast.md): Transient notifications with indicator, title, description, action, and close slots. (Ark UI, Base UI, UI SDK)
- [Tooltip](https://stylexblocks.com/components/ark-ui/tooltip.md): Short contextual labels with a default panel style and an inverted variant. (Ark UI, Base UI, UI SDK)
- [Alert Dialog](https://stylexblocks.com/components/ark-ui/alert-dialog.md): A modal confirmation for destructive actions that only closes when the user answers. (Ark UI, Base UI, UI SDK)
- [Tour](https://stylexblocks.com/components/ark-ui/tour.md): A guided walkthrough that spotlights elements one step at a time with an anchored card. (Ark UI, Base UI, UI SDK)
- [Meter](https://stylexblocks.com/components/ark-ui/meter.md): Static gauges for a value within a known range, like storage or quota, with the progress bar look. (Ark UI, Base UI, UI SDK)

## Layout

- [App Shell](https://stylexblocks.com/components/ark-ui/app-shell.md): The top-level application frame composing a navbar, sidebar, and main content area. (Ark UI, Base UI, UI SDK)
- [Aside](https://stylexblocks.com/components/ark-ui/aside.md): Contextual side panels with a titled header and scrollable body in two densities. (Ark UI, Base UI, UI SDK)
- [Card](https://stylexblocks.com/components/ark-ui/card.md): Content containers with elevated, outline, subtle, and solid variants — Root resolves variant and size once and every part inherits them through context. (Ark UI, Base UI, UI SDK)
- [Drawer](https://stylexblocks.com/components/ark-ui/drawer.md): Slide-in panels anchored to any viewport edge, with header, body, and footer slots. (Ark UI, Base UI, UI SDK)
- [Floating Panel](https://stylexblocks.com/components/ark-ui/floating-panel.md): Draggable utility windows with a drag handle, title bar, and scrollable body. (Ark UI, Base UI, UI SDK)
- [Message Scroller](https://stylexblocks.com/components/ark-ui/message-scroller.md): A chat transcript scroller that anchors turns, follows streamed replies at the live edge, preserves place when history loads, and jumps to any message. (Ark UI, Base UI, UI SDK)
- [Navbar](https://stylexblocks.com/components/ark-ui/navbar.md): Top navigation bars in neutral, solid, and glass variants with brand and link slots. (Ark UI, Base UI, UI SDK)
- [Page](https://stylexblocks.com/components/ark-ui/page.md): Page scaffolds with header, title, description, and body in panel and settings variants. (Ark UI, Base UI, UI SDK)
- [Scroll Area](https://stylexblocks.com/components/ark-ui/scroll-area.md): Custom scroll containers with a palette-tinted scrollbar in four thicknesses. (Ark UI, Base UI, UI SDK)
- [Section](https://stylexblocks.com/components/ark-ui/section.md): Titled content sections with description and body slots for settings pages. (Ark UI, Base UI, UI SDK)
- [Separator](https://stylexblocks.com/components/ark-ui/separator.md): Horizontal and vertical rules in solid, dashed, and dotted weights. (Ark UI, Base UI, UI SDK)
- [Sidebar](https://stylexblocks.com/components/ark-ui/sidebar.md): App navigation rails with header, grouped nav items, and a scrollable body. (Ark UI, Base UI, UI SDK)
- [Split Page](https://stylexblocks.com/components/ark-ui/split-page.md): Master–detail layouts pairing a list pane with a detail content pane. (Ark UI, Base UI, UI SDK)
- [Splitter](https://stylexblocks.com/components/ark-ui/splitter.md): Resizable panel dividers with a separator line and a raised drag handle. (Ark UI, Base UI, UI SDK)
- [Aspect Ratio](https://stylexblocks.com/components/ark-ui/aspect-ratio.md): Locks media, maps, and artwork frames to design-token aspect ratios with rounded clipping. (Ark UI, Base UI, UI SDK)
- [Center](https://stylexblocks.com/components/ark-ui/center.md): Centering layout primitives (Center, Square, and Circle) that align children on both axes with token-sized geometry. (Ark UI, Base UI, UI SDK)
- [Grid](https://stylexblocks.com/components/ark-ui/grid.md): CSS Grid layout primitives (Grid and GridItem) with fixed or auto-fit column tracks, spacing-token gaps, and span controls. (Ark UI, Base UI, UI SDK)
- [Stack](https://stylexblocks.com/components/ark-ui/stack.md): Flex layout primitives (Stack, VStack, HStack) with spacing-token gaps, alignment, justification, and wrap controls. (Ark UI, Base UI, UI SDK)
- [Visually Hidden](https://stylexblocks.com/components/ark-ui/visually-hidden.md): Hides text visually while keeping it accessible to assistive technology, with an optional focusable mode. (Ark UI, Base UI, UI SDK)

## Typography

- [Blockquote](https://stylexblocks.com/components/ark-ui/blockquote.md): Quotations with subtle and solid accents and an attribution caption. (Ark UI, Base UI, UI SDK)
- [Code](https://stylexblocks.com/components/ark-ui/code.md): Inline code marks with palette-aware solid, subtle, surface, and outline styles. (Ark UI, Base UI, UI SDK)
- [Heading](https://stylexblocks.com/components/ark-ui/heading.md): Display and section headings across eleven sizes with tuned line heights and tracking. (Ark UI, Base UI, UI SDK)
- [Link](https://stylexblocks.com/components/ark-ui/link.md): Inline anchors with underline and plain hover treatments and a themed focus ring. (Ark UI, Base UI, UI SDK)
- [Mark](https://stylexblocks.com/components/ark-ui/mark.md): Inline text highlights with subtle, solid, and text-decoration treatments. (Ark UI, Base UI, UI SDK)
- [Text](https://stylexblocks.com/components/ark-ui/text.md): Typographic primitive for body copy, muted descriptions, labels, captions, overlines, tabular numerals, and truncated text. (Ark UI, Base UI, UI SDK)

## Form

- [Button](https://stylexblocks.com/components/ark-ui/button.md): Trigger actions with solid, surface, outline, ghost, and glass variants across six sizes — polymorphic via asChild (Ark) or render (Base UI). (Ark UI, Base UI, UI SDK)
- [Checkbox](https://stylexblocks.com/components/ark-ui/checkbox.md): Binary selection controls with outline, solid, and subtle boxes and a paired label. (Ark UI, Base UI, UI SDK)
- [Checkbox Card](https://stylexblocks.com/components/ark-ui/checkbox-card.md): Selectable cards with label, description, and checkmark indicator in surface, subtle, outline, and solid variants. (Ark UI, Base UI, UI SDK)
- [Checkmark](https://stylexblocks.com/components/ark-ui/checkmark.md): The standalone checkbox indicator square used by checkbox-style components. (Ark UI, Base UI, UI SDK)
- [Color Picker](https://stylexblocks.com/components/ark-ui/color-picker.md): Swatch trigger and checkerboard swatch grid with a selection indicator, from 2xs to 2xl. (Ark UI, Base UI, UI SDK)
- [Combobox](https://stylexblocks.com/components/ark-ui/combobox.md): Filterable input with a suggestion popup, item indicators, and an empty state slot. (Ark UI, Base UI, UI SDK)
- [Command](https://stylexblocks.com/components/ark-ui/command.md): Keyboard shortcut groups that space and mute a row of key hints. (Ark UI, Base UI, UI SDK)
- [Date Picker](https://stylexblocks.com/components/ark-ui/date-picker.md): Date input with calendar trigger, month navigation, and a selectable day grid. (Ark UI, Base UI, UI SDK)
- [Editable](https://stylexblocks.com/components/ark-ui/editable.md): Inline text that swaps between a hover preview and a focused input on click. (Ark UI, Base UI, UI SDK)
- [Field](https://stylexblocks.com/components/ark-ui/field.md): Label, control, helper text, and error slots with vertical and horizontal orientations. (Ark UI, Base UI, UI SDK)
- [Fieldset](https://stylexblocks.com/components/ark-ui/fieldset.md): Group related fields under a legend with helper text and spacing tuned per size. (Ark UI, Base UI, UI SDK)
- [File Upload](https://stylexblocks.com/components/ark-ui/file-upload.md): Dashed dropzone with a file item list showing names, sizes, and delete triggers. (Ark UI, Base UI, UI SDK)
- [Input](https://stylexblocks.com/components/ark-ui/input.md): Text fields with outline, subtle, and flushed variants that inherit your palette and radius. (Ark UI, Base UI, UI SDK)
- [Input Addon](https://stylexblocks.com/components/ark-ui/input-addon.md): Prefix and suffix segments that share height and variant styling with an adjacent input. (Ark UI, Base UI, UI SDK)
- [Listbox](https://stylexblocks.com/components/ark-ui/listbox.md): An always-visible option list with selection indicators in subtle and solid panels. (Ark UI, Base UI, UI SDK)
- [Native Select](https://stylexblocks.com/components/ark-ui/native-select.md): A styled platform <select> with a positioned chevron indicator across five sizes. (Ark UI, Base UI, UI SDK)
- [Number Input](https://stylexblocks.com/components/ark-ui/number-input.md): Numeric fields with increment and decrement steppers in outline, subtle, and flushed variants. (Ark UI, Base UI, UI SDK)
- [Pin Input](https://stylexblocks.com/components/ark-ui/pin-input.md): One-time code entry with per-digit boxes in outline, subtle, and flushed variants. (Ark UI, Base UI, UI SDK)
- [Radio Card](https://stylexblocks.com/components/ark-ui/radio-card.md): Single-choice cards with label, description, and radio indicator in surface, subtle, outline, and solid variants. (Ark UI, Base UI, UI SDK)
- [Radio Group](https://stylexblocks.com/components/ark-ui/radio-group.md): Single-choice option lists with outline, subtle, and solid radio controls. (Ark UI, Base UI, UI SDK)
- [Radiomark](https://stylexblocks.com/components/ark-ui/radiomark.md): The standalone circular radio indicator with a scaled center dot. (Ark UI, Base UI, UI SDK)
- [Rating Group](https://stylexblocks.com/components/ark-ui/rating-group.md): Star rating input with keyboard-accessible items across four sizes. (Ark UI, Base UI, UI SDK)
- [Segment Group](https://stylexblocks.com/components/ark-ui/segment-group.md): A segmented control for mutually exclusive views with an inset track and raised active segment. (Ark UI, Base UI, UI SDK)
- [Select](https://stylexblocks.com/components/ark-ui/select.md): Custom listbox-style select with trigger, indicator, and item slots in outline and subtle styles. (Ark UI, Base UI, UI SDK)
- [Slider](https://stylexblocks.com/components/ark-ui/slider.md): Range selection with track, filled range, and thumb in outline and solid variants. (Ark UI, Base UI, UI SDK)
- [Switch](https://stylexblocks.com/components/ark-ui/switch.md): On/off toggles with a sliding thumb in solid and raised track variants. (Ark UI, Base UI, UI SDK)
- [Tags Input](https://stylexblocks.com/components/ark-ui/tags-input.md): Enter-to-add token input with removable item previews in outline, subtle, and flushed styles. (Ark UI, Base UI, UI SDK)
- [Textarea](https://stylexblocks.com/components/ark-ui/textarea.md): Multi-line text entry with the same outline, subtle, and flushed variants as Input. (Ark UI, Base UI, UI SDK)
- [Toggle](https://stylexblocks.com/components/ark-ui/toggle.md): A two-state button that stays pressed, in ghost and outline styles matched to Button. (Ark UI, Base UI, UI SDK)
- [Toggle Group](https://stylexblocks.com/components/ark-ui/toggle-group.md): A set of toggle buttons with single or multiple selection and arrow-key navigation. (Ark UI, Base UI, UI SDK)
- [Checkbox Group](https://stylexblocks.com/components/ark-ui/checkbox-group.md): A set of checkboxes sharing one value array, stacked or in a row, with an optional select-all parent. (Ark UI, Base UI, UI SDK)
- [Clipboard](https://stylexblocks.com/components/ark-ui/clipboard.md): Copy a value with one click: a read-only field with a joined copy button, or a standalone icon button. (Ark UI, Base UI, UI SDK)
- [Password Input](https://stylexblocks.com/components/ark-ui/password-input.md): Password fields with a show/hide toggle, built on the input styles in every variant and size. (Ark UI, Base UI, UI SDK)
- [Autocomplete](https://stylexblocks.com/components/ark-ui/autocomplete.md): Free-text input with filtered suggestions; the typed text is the value, suggestions just fill it in. (Ark UI, Base UI, UI SDK)
- [Date Input](https://stylexblocks.com/components/ark-ui/date-input.md): Segmented date field with keyboard-editable month, day and year in locale order. (Ark UI, Base UI, UI SDK)
- [Angle Slider](https://stylexblocks.com/components/ark-ui/angle-slider.md): Circular dial for picking an angle, with a value arc, draggable thumb and optional markers. (Ark UI, Base UI, UI SDK)
- [Image Cropper](https://stylexblocks.com/components/ark-ui/image-cropper.md): Crop selection over an image with drag-to-move, eight resize handles, an optional locked aspect ratio, arrow-key nudging, and a rule-of-thirds grid while dragging. (Ark UI, Base UI, UI SDK)
- [Signature Pad](https://stylexblocks.com/components/ark-ui/signature-pad.md): Freehand drawing surface for signatures with smooth pressure-aware strokes, a guide line, a clear button, and a hidden input for forms. (Ark UI, Base UI, UI SDK)
- [Icon Button](https://stylexblocks.com/components/ark-ui/icon-button.md): Square and circular icon-only buttons sharing the Button recipe across all variants and control sizes. (Ark UI, Base UI, UI SDK)
- [Token Input](https://stylexblocks.com/components/ui-sdk/token-input.md): Rich text field that mixes editable prose with removable atomic tokens in outline, subtle, and plain styles. (UI SDK)
- [Trigger Menu](https://stylexblocks.com/components/ui-sdk/trigger-menu.md): Caret-anchored top-layer suggestion menu opened by typing triggers such as @ for mentions or / for commands. (UI SDK)
