Library
Components
167+ accessible, token-driven React components built on Radix UI primitives, fully typed and themeable. Most have a React Native twin in @nexub/react-native with the same name and props.
Actions
Triggers an action or event. Supports multiple variants, sizes, and semantic tones.
Groups related buttons together with optional attachment and orientation.
A primary action with related secondary actions behind a chevron, as one connected control.
A row of buttons and toggles with one tab stop and arrow-key movement, built on Radix.
A square button designed to hold a single icon, with an accessible label.
Navigation
Navigation for medium-width windows: icons over labels, with an active pill behind the icon.
BetaA search box over a filtered, grouped list you move through with the keyboard. Inline: put it in a Dialog, Sheet, Drawer or page.
AlphaLayered content panels switched by tab triggers. Built on Radix UI Tabs.
A menu to switch, save, update and delete saved filter views. Your app stores them.
A sticky app header: logo, main navigation links and trailing actions.
Vertical app navigation: a header, grouped items with icons, and a pinned footer. Collapses to icons.
Site navigation links with flyout panels, built on Radix.
A horizontal bar of menus, like a desktop app’s File / Edit / View, built on Radix.
A searchable command menu in a modal dialog (cmdk), with nested pages, recents and an optional Cmd+K shortcut.
Hierarchical navigation trail showing page location.
A keyboard-friendly hierarchy (ARIA tree) with lazy children and tri-state checkboxes.
Progress through a multi-step flow, with clickable steps that follow the order you allow.
Page navigation control with prev/next and page number buttons.
Data Display
Honest money: Intl formatting, tabular numerals, the currency’s minor unit and a true minus sign.
BetaKey–value rows with list semantics: a receipt, a fee breakdown, the details of a record.
AlphaA row of selectable stat cards, each with a count and a failed count, that filters a list.
AlphaOne row per person, days across: rosters, team leave and allocation, with totals in the footer.
AlphaPeople top-down as cards joined by lines, keyboard navigable as a tree. A TreeView on narrow screens.
AlphaA QR code as an SVG, always dark on light so it scans in every theme, with its value shown as text.
AlphaSemantic HTML table with styled variants.
Feature-rich data table with sorting and row selection powered by TanStack Table.
A month or week grid of events. Display only: your app owns the events and what a click does.
A list people reorder by dragging or with Alt+Arrow keys on a handle.
Columns of cards people move by dragging or with Alt+Arrow keys.
Placeholder UI shown when a list or page has no content.
A spot illustration for an empty, error, offline, success or full-page state, drawn in code so it follows the theme, dark mode and the product accent.
AlphaFull-page or section error view with retry action.
A list with a success tick before each item, for features, plan inclusions and requirements met.
A number whose digits roll to new values on the spatial spring. The first render never animates.
BetaCompare values across categories, grouped or stacked. Server-rendered SVG on the chart palette.
Show a trend over ordered categories such as time. Server-rendered SVG on the chart palette.
Parts of a whole, with an optional total in the hole. Keep it to six slices or fewer.
A headline number with its change versus last period and a trend line.
Drop-off through ordered steps, with conversion from the first step.
Intensity over a grid, such as activity by weekday and week, in seven sequential steps.
Progress toward a target on a 270° arc.
Form & Input
An amount field: locale-aware parsing as you type, grouped on blur, the currency symbol leading.
Text input field for forms. Supports size variants, icons, addons, and validation states.
A multi-line text input with configurable resize behaviour, size, and validation states.
A numeric input with optional steppers. Limits apply when the field loses focus; `nullable` lets it be empty.
A text input pre-wired with a search icon and a clear button for filtering content.
A password field with a built-in toggle to reveal or hide the entered value.
An accessible form label that optionally shows a required asterisk and links to an input via htmlFor.
Small supporting text placed beneath a form field to provide hints or validation feedback.
An error message with an alert icon, announced when it appears.
Wraps Label, Input, HelperText and FormError into a single accessible group.
Validates on submit with the browser’s own checks plus yours, shows each message on its FormField and focuses the first invalid field.
BetaSave and cancel that stay in view at the bottom of a long form.
Calendar date picker with text input. `granularity` picks a whole month or year.
Dual-calendar date range selector.
A time field on the native time input: 12 or 24 hours from the reader’s locale, and the platform picker on phones.
A DatePicker and a TimePicker that edit one Date, with an optional time-zone label.
Labels & Badges
Small status indicator or label. Communicates state, category, or count.
Interactive chip for filtering, supports selected/unselected state.
Compact label chip, optionally dismissible.
A compact eyebrow label, typically used above headings.
A pill with a country flag and its name or code.
A country flag from its ISO code, drawn with the system emoji font.
Typography
Form Controls
A phone field with a country picker. Groups the number as you type and reports it in E.164.
AlphaA labelled, searchable single choice that looks like a Select. For lists longer than about ten options.
AlphaA searchable ISO 4217 currency picker built from Intl: code, name and symbol. Also sits next to a MoneyInput.
AlphaPick a colour from swatches or type a hex, with an optional contrast hint against a background.
AlphaPick an emoji from a searchable grid with categories, recent picks and skin tone. A popover, a bottom sheet on phones.
AlphaPick an icon from @nexub/icons in a searchable grid with recent picks and optional categories. A popover, a bottom sheet on phones.
AlphaA Checkbox with its label, description, aside and error; CheckboxGroupField puts several under one question.
AlphaAccessible dropdown select built on Radix UI. Supports groups and search.
Binary checkbox input built on Radix UI.
Group of mutually exclusive radio inputs.
A radio group where each option is a whole card: title, description and optional icon, one choice.
A checkbox drawn as a whole card: title, description and optional icon. Pick any number.
Toggle control for binary on/off settings. Built on Radix UI Switch.
Command-palette style searchable dropdown built on cmdk.
Type-to-search input with matching options dropdown.
Pick several options as chips, with search, "+N more" and an optional create option.
Build AND/OR filter queries with nested groups. The output is plain JSON your app runs.
BetaA drop zone and file list: pick, drop or paste files, with type, size and count checks and per-file progress.
Feedback
Time left to a deadline, as a chip or inline text. Stays right after the tab was in the background.
AlphaInline contextual message with optional title, icon, and dismiss action.
Imperative toast notifications using the toast object. Render <Toaster /> once in your layout.
Animated loading indicator. Inherits color from context.
A short confetti burst for a real win, such as a first payment or finishing onboarding.
BetaAvatar
Displays a user's profile picture with initials fallback.
Stacked group of avatars with overflow count.
Loading States
Disclosure
Vertically stacked list of collapsible sections.
Toggle visibility of content with smooth animation.
Scrollable container with custom styled scrollbars.
Interactive
Star rating input, supports controlled and read-only modes.
Range slider built on Radix UI Slider.
Pressable toggle button built on Radix UI Toggle.
Group of toggle buttons where one or many can be active.
Tab-style control for mutually exclusive selections.
Overlays
Modal dialog built on Radix UI. Fully accessible with focus trapping and ARIA roles.
Confirmation dialog that requires an explicit user action before proceeding.
Floating content panel anchored to a trigger element.
Floating label that appears on hover. Built on Radix UI Tooltip.
Rich tooltip card revealed on hover.
Slide-in panel from any edge of the screen.
Alias for Drawer — slide-in sheet panel.
A menu of actions opened from a button, built on Radix.
A menu that opens at the pointer on right-click (or long-press), built on Radix.
AI
The composer for a chat: an auto-growing text field with Send, which turns into Stop while a reply streams.
One message in a conversation. User messages sit in a bubble at the end; assistant replies run full width. MessageActions adds copy, feedback and regenerate; MessageCard and Highlight structure what a message says.
Assistant text as it arrives: new chunks fade in, text already shown stays still, and a caret marks the end.
BetaShows the assistant is working before the first token arrives: a morphing shape and a shimmering label.
Numbered source markers for running text, with a hover preview, plus SourceChip and SourceList for the sources under a reply.
BetaLayout
Surface container for grouping related content. Supports flat, surface, and interactive variants.
An image card with a glass caption over a soft scrim. With `href`, the whole card is one link.
BetaVertical stack layout with configurable gap.
Flexbox layout primitive.
CSS Grid layout primitive.
Generic container primitive with style token props.
Centres content at a maximum width with responsive side padding.
A full-width page band with vertical padding and a background tone; put a `Container` inside.
Keeps its content at a fixed width-to-height ratio, for images, video and embeds.
The top of a page: title, description, breadcrumb and actions.
Full-height application frame: a header row over a body with a sidebar slot and a scrolling main region.
Dividers
A horizontal or vertical visual divider.
A decorative gradient-faded horizontal rule.
Inline Primitives
Inline code span for technical terms and short code snippets.
Keyboard key display — renders a styled <kbd> element.
Styled anchor link with variant and external support.
Renders text with a brand gradient fill.
A decorative background of slow-drifting colour fields from the accent roles. Subtle by default, richer under data-expression="vivid".
BetaA key combination as `Kbd` keys joined by plus signs, read as one label.
The Nexub mark and wordmark, with an optional product name.
Content for screen readers only: hidden on screen but still read out (Radix).
Forms
Motion
Animates opacity between 0 and 1 based on the `in` prop.
Fades its content up as it scrolls into view, in marketing mode. CSS scroll-driven where supported, an IntersectionObserver elsewhere; content on screen at load, and every visitor without JS or with reduced motion, just sees it.
BetaGently bobs its content (floating cards over a hero visual), in marketing mode. Server component; still under reduced motion.
BetaA row that scrolls sideways forever (logo strips, tool lists), in marketing mode. Pauses on hover and while focus is inside, stands still under reduced motion; the repeated copy is hidden from assistive tech and can’t be focused. Server component.
BetaSlides content in from a direction based on the `in` prop.
Scales content in/out from its center.
Expands and collapses content along the block axis.
Diagram
Nodes and edges on a themed, keyboard-accessible canvas: workflows and mind maps, with automatic layout and a "Show as list" text alternative. From `@nexub/diagram`, on React Flow.
AlphaWeb Components
`<nx-number-input>`: the NumberInput rules as a form-associated web component, for server-rendered pages without React. A plain `<form>` posts its value.
Alpha`<nx-date-picker>`: a typed date field and a calendar as a form-associated web component, for server-rendered pages without React. The value is `YYYY-MM-DD`.
Alpha