# Xerobi UI > React components and blocks on Base UI and Tailwind CSS v4. Package: @xerobi/ui. Primary brand colour #1A73E8. Read `ai-usage.md` first. Per-component references follow. ## Guides - [AI usage guide](ai-usage.md) - [registry.json](registry.json): all components, props, variants and examples ## Actions - [Button](components/button.md): Primary interactive control with variants, sizes, semantic colours, loading state and press ripple. - [Button Group](components/button-group.md): Joins related buttons into one segmented control. - [Toggle](components/toggle.md): Two-state button that stays pressed. - [Toggle Group](components/toggle-group.md): Set of toggles with single or multiple selection. ## Forms - [Calendar](components/calendar.md): Month grid for choosing a single date, several dates or a range. - [Checkbox](components/checkbox.md): Binary or indeterminate selection control. - [Combobox](components/combobox.md): Input with a filterable list of options and optional multiple selection. - [Country Select](components/country-select.md): Country picker with flags and search. - [Custom Date Range Picker](components/custom-date-range-picker.md): Date range input with a calendar popover and range presets. - [Editor](components/editor.md): Rich text editor with toolbar, built on Tiptap. - [Form Label](components/form-label.md): Label with required and optional markers for form fields. - [Input](components/input.md): Single-line text field. - [Input Group](components/input-group.md): Input with leading and trailing addons, icons and buttons. - [Input Otp](components/input-otp.md): One-time passcode field split into separate slots. - [Native Select](components/native-select.md): Styled native select element. - [Number Input](components/number-input.md): Numeric field with increment and decrement controls. - [Phone Input](components/phone-input.md): Telephone field with country calling code selection. - [Radio Group](components/radio-group.md): Single choice from a set of options. - [Rating](components/rating.md): Star rating input and display. - [Select](components/select.md): Choose one option from a list in a popup. - [Slider](components/slider.md): Select a value or range by dragging a thumb. - [Switch](components/switch.md): On and off toggle with immediate effect. - [Textarea](components/textarea.md): Multi-line text field. - [Upload](components/upload.md): Drag-and-drop file picker with previews and validation. ## Navigation - [Breadcrumb](components/breadcrumb.md): Path of links showing where the current page sits in the hierarchy. - [Custom Breadcrumbs](components/custom-breadcrumbs.md): Page header breadcrumb with heading, actions and link list. - [Custom Tabs](components/custom-tabs.md): Tab bar with labelled panels in scrollable and fixed layouts. - [Menubar](components/menubar.md): Horizontal bar of menus, as in a desktop application. - [Navigation Menu](components/navigation-menu.md): Site navigation with dropdown content panels. - [Pagination](components/pagination.md): Page controls for long lists and tables. - [Tabs](components/tabs.md): Switch between related panels in the same context. ## Overlays - [Alert Dialog](components/alert-dialog.md): Modal that interrupts the flow to confirm a destructive or irreversible action. - [Command](components/command.md): Searchable command palette with groups, shortcuts and keyboard navigation. - [Context Menu](components/context-menu.md): Menu opened by right click or long press on a target. - [Custom Dialog](components/custom-dialog.md): Dialog with title, content and action slots wired for forms. - [Custom Popover](components/custom-popover.md): Popover positioned from a trigger with arrow and placement options. - [Dialog](components/dialog.md): Modal window that traps focus and blocks the page behind it. - [Drawer](components/drawer.md): Panel that slides in from an edge of the screen. - [Dropdown Menu](components/dropdown-menu.md): Menu of actions opened from a trigger button. - [Hover Card](components/hover-card.md): Preview card shown when hovering or focusing a link. - [Popover](components/popover.md): Floating panel anchored to a trigger. - [Sheet](components/sheet.md): Edge-anchored panel for secondary tasks, built on the dialog. - [Tooltip](components/tooltip.md): Short text label shown on hover or focus. - [Walktour](components/walktour.md): Guided product tour that highlights elements in sequence. ## Feedback - [Alert](components/alert.md): Inline message with title and description for info, success, warning and error states. - [Empty Content](components/empty-content.md): Empty state with icon, title, description and call to action. - [Loading Screen](components/loading-screen.md): Full-page loading and splash states. - [Progress](components/progress.md): Bar showing completion of a task. - [Progress Bar](components/progress-bar.md): Thin page-level progress indicator for navigation and loading. - [Search Not Found](components/search-not-found.md): No-results state for searches and filters. - [Skeleton](components/skeleton.md): Placeholder shaped like content while it loads. - [Snackbar](components/snackbar.md): Brief message that appears at the edge of the screen and dismisses itself. - [Spinner](components/spinner.md): Indeterminate loading indicator. ## Data display - [Avatar](components/avatar.md): User image with fallback initials, status badge and grouping. - [Badge](components/badge.md): Small label for status, counts and categories in filled, soft, outlined and inverted styles. - [Chart](components/chart.md): ApexCharts wrapper themed from design tokens; loaded on demand. - [Chip](components/chip.md): Compact element for tags, filters and selected values, optionally removable. - [Item](components/item.md): List row with media, title, description and actions. - [Kbd](components/kbd.md): Keyboard key and shortcut hint. - [Label](components/label.md): Coloured status label for tables and lists. - [Map](components/map.md): Mapbox GL map with markers, popups and controls; loaded on demand. - [Markdown](components/markdown.md): Renders Markdown with the design system's typography and code styles. - [Organizational Chart](components/organizational-chart.md): Hierarchical tree of people or units. - [Table](components/table.md): Semantic table primitives: header, body, row, cell and caption. ## Disclosure - [Accordion](components/accordion.md): Vertically stacked sections that expand and collapse, one or several open at a time. - [Collapsible](components/collapsible.md): Single region that shows or hides its content from a trigger. ## Layout - [Aspect Ratio](components/aspect-ratio.md): Container that holds its content to a fixed width to height ratio. - [Card](components/card.md): Surface with header, content, footer and action regions. - [Resizable](components/resizable.md): Panels the user can resize with a drag handle or keyboard. - [Scroll Area](components/scroll-area.md): Scroll container with themed scrollbars. - [Scrollbar](components/scrollbar.md): Custom scrollbar for overflow regions. - [Separator](components/separator.md): Horizontal or vertical divider. ## Media - [Carousel](components/carousel.md): Horizontally scrolling set of slides with previous and next controls. - [File Thumbnail](components/file-thumbnail.md): Preview tile for a file by type, with image preview and actions. - [Flag Icon](components/flag-icon.md): Country flag by ISO code. - [Image](components/image.md): Image with lazy loading, blur placeholder and aspect ratio. - [Lightbox](components/lightbox.md): Full-screen image viewer with zoom and navigation. - [Logo](components/logo.md): Xerobi logo as a link or inline mark. - [Svg Color](components/svg-color.md): SVG rendered as a mask so it takes the current text colour. ## Utilities - [Animate](components/animate.md): Motion primitives: animated borders, scroll progress and entrance transitions. - [Color Utils](components/color-utils.md): Helpers for colour conversion and contrast on the client. - [Direction](components/direction.md): Provider that sets left-to-right or right-to-left reading direction. - [Ripple](components/ripple.md): Material-style press ripple, used by buttons, toggles and tabs. - [Theme Provider](components/theme-provider.md): Provides colour mode, direction and brand colour to the tree, and applies them to the document. ## Blocks - Data Table (`xerobi-ui add data-table`): Table with sorting, filtering, pagination, column visibility and row selection on TanStack Table. - Filters Result (`xerobi-ui add filters-result`): Applied-filter chips with a clear-all action and result count. - Form (`xerobi-ui add form`): Form and field components on TanStack Form with validation and error display. - Mega Menu (`xerobi-ui add mega-menu`): Multi-column navigation menu for the top bar. - Nav Basic (`xerobi-ui add nav-basic`): Simple vertical navigation list. - Nav Core (`xerobi-ui add nav-core`): Shared navigation item, group and link primitives used by the other nav blocks. - Nav Section (`xerobi-ui add nav-section`): Grouped navigation with section headings and collapsible items. - Settings (`xerobi-ui add settings`): Settings drawer for colour mode, direction, contrast, font and brand preset. - Sidebar (`xerobi-ui add sidebar`): Collapsible application sidebar with mini variant.