Skip to content
nexubDesign System
v12.7.0

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

Button

Triggers an action or event. Supports multiple variants, sizes, and semantic tones.

Button Group

Groups related buttons together with optional attachment and orientation.

Split Button

A primary action with related secondary actions behind a chevron, as one connected control.

Toolbar

A row of buttons and toggles with one tab stop and arrow-key movement, built on Radix.

Icon Button

A square button designed to hold a single icon, with an accessible label.

Navigation Rail

Navigation for medium-width windows: icons over labels, with an active pill behind the icon.

Beta
Command List

A search box over a filtered, grouped list you move through with the keyboard. Inline: put it in a Dialog, Sheet, Drawer or page.

Alpha
Tabs

Layered content panels switched by tab triggers. Built on Radix UI Tabs.

Saved Views

A menu to switch, save, update and delete saved filter views. Your app stores them.

Top Nav

A sticky app header: logo, main navigation links and trailing actions.

Sidebar

Vertical app navigation: a header, grouped items with icons, and a pinned footer. Collapses to icons.

Navigation Menu

Site navigation links with flyout panels, built on Radix.

Menubar

A horizontal bar of menus, like a desktop app’s File / Edit / View, built on Radix.

Command Palette

A searchable command menu in a modal dialog (cmdk), with nested pages, recents and an optional Cmd+K shortcut.

Breadcrumb

Hierarchical navigation trail showing page location.

Tree View

A keyboard-friendly hierarchy (ARIA tree) with lazy children and tri-state checkboxes.

Stepper

Progress through a multi-step flow, with clickable steps that follow the order you allow.

Pagination

Page navigation control with prev/next and page number buttons.

Data Display

Amount

Honest money: Intl formatting, tabular numerals, the currency’s minor unit and a true minus sign.

Beta
Description List

Key–value rows with list semantics: a receipt, a fee breakdown, the details of a record.

Alpha
Comparison Bar

Two values on one split bar, with the numbers always shown as text.

Alpha
Usage Tile

Used of limit: the value, the limit and a bar that warns near and at the limit.

Alpha
Usage Bar

A compact used-of-limit bar with its label inline, for table cells and fact grids.

Alpha
Stage Counter

A row of selectable stat cards, each with a count and a failed count, that filters a list.

Alpha
Resource Timeline

One row per person, days across: rosters, team leave and allocation, with totals in the footer.

Alpha
Org Chart

People top-down as cards joined by lines, keyboard navigable as a tree. A TreeView on narrow screens.

Alpha
QR Code

A QR code as an SVG, always dark on light so it scans in every theme, with its value shown as text.

Alpha
Table

Semantic HTML table with styled variants.

Data Table

Feature-rich data table with sorting and row selection powered by TanStack Table.

Event Calendar

A month or week grid of events. Display only: your app owns the events and what a click does.

Sortable

A list people reorder by dragging or with Alt+Arrow keys on a handle.

Kanban

Columns of cards people move by dragging or with Alt+Arrow keys.

Empty State

Placeholder UI shown when a list or page has no content.

Illustration

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.

Alpha
Error State

Full-page or section error view with retry action.

Check List

A list with a success tick before each item, for features, plan inclusions and requirements met.

Number Ticker

A number whose digits roll to new values on the spatial spring. The first render never animates.

Beta
Bar Chart

Compare values across categories, grouped or stacked. Server-rendered SVG on the chart palette.

Line Chart

Show a trend over ordered categories such as time. Server-rendered SVG on the chart palette.

Donut Chart

Parts of a whole, with an optional total in the hole. Keep it to six slices or fewer.

Sparkline

A tiny trend line with no axes, for stat cards and table cells.

Beta
Chart Toggle

A legend whose entries switch series on and off, wrapped around any chart.

Beta
Chart Zoom

Zoom any chart to part of its range with a two-thumb slider.

Beta
KPI Tile

A headline number with its change versus last period and a trend line.

Funnel

Drop-off through ordered steps, with conversion from the first step.

Heatmap

Intensity over a grid, such as activity by weekday and week, in seven sequential steps.

Gauge

Progress toward a target on a 270° arc.

Form & Input

Money Input

An amount field: locale-aware parsing as you type, grouped on blur, the currency symbol leading.

Input

Text input field for forms. Supports size variants, icons, addons, and validation states.

Textarea

A multi-line text input with configurable resize behaviour, size, and validation states.

Number Input

A numeric input with optional steppers. Limits apply when the field loses focus; `nullable` lets it be empty.

Search Input

A text input pre-wired with a search icon and a clear button for filtering content.

Password Input

A password field with a built-in toggle to reveal or hide the entered value.

Label

An accessible form label that optionally shows a required asterisk and links to an input via htmlFor.

Helper Text

Small supporting text placed beneath a form field to provide hints or validation feedback.

Form Error

An error message with an alert icon, announced when it appears.

Form Field

Wraps Label, Input, HelperText and FormError into a single accessible group.

Form

Validates on submit with the browser’s own checks plus yours, shows each message on its FormField and focuses the first invalid field.

Beta
Fieldset

Groups related fields under a legend; disabling it disables everything inside.

Beta
Inline Edit

Text that becomes an input on click, for renaming things in place.

Beta
Action Bar

Save and cancel that stay in view at the bottom of a long form.

Date Picker

Calendar date picker with text input. `granularity` picks a whole month or year.

Date Range Picker

Dual-calendar date range selector.

Time Picker

A time field on the native time input: 12 or 24 hours from the reader’s locale, and the platform picker on phones.

Date Time Picker

A DatePicker and a TimePicker that edit one Date, with an optional time-zone label.

Labels & Badges

Badge

Small status indicator or label. Communicates state, category, or count.

Filter Chip

Interactive chip for filtering, supports selected/unselected state.

Chip

Compact label chip, optionally dismissible.

Eyebrow Chip

A compact eyebrow label, typically used above headings.

Country Badge

A pill with a country flag and its name or code.

Icon Chip

An icon on a tinted tile, in one of the category colours or the product accent.

Alpha
Flag

A country flag from its ISO code, drawn with the system emoji font.

Typography

Truncate

Text clipped to one or more lines, with the full text in a tooltip only while it is clipped.

Alpha
Heading

Semantic heading component with size, weight, and tone control.

Text

Paragraph text component with size, tone, and weight variants.

Form Controls

Phone Input

A phone field with a country picker. Groups the number as you type and reports it in E.164.

Alpha
Combobox Field

A labelled, searchable single choice that looks like a Select. For lists longer than about ten options.

Alpha
Currency Select

A searchable ISO 4217 currency picker built from Intl: code, name and symbol. Also sits next to a MoneyInput.

Alpha
Color Picker

Pick a colour from swatches or type a hex, with an optional contrast hint against a background.

Alpha
Emoji Picker

Pick an emoji from a searchable grid with categories, recent picks and skin tone. A popover, a bottom sheet on phones.

Alpha
Icon Picker

Pick an icon from @nexub/icons in a searchable grid with recent picks and optional categories. A popover, a bottom sheet on phones.

Alpha
Switch Field

A Switch with its label, description and error, the label clickable.

Alpha
Checkbox Field

A Checkbox with its label, description, aside and error; CheckboxGroupField puts several under one question.

Alpha
Time Slot Picker

Pick one time from a list of slots, for booking flows.

Alpha
Select

Accessible dropdown select built on Radix UI. Supports groups and search.

Checkbox

Binary checkbox input built on Radix UI.

Radio Group

Group of mutually exclusive radio inputs.

Radio Card

A radio group where each option is a whole card: title, description and optional icon, one choice.

Checkbox Card

A checkbox drawn as a whole card: title, description and optional icon. Pick any number.

Switch

Toggle control for binary on/off settings. Built on Radix UI Switch.

Combobox

Command-palette style searchable dropdown built on cmdk.

Autocomplete

Type-to-search input with matching options dropdown.

Multi Select

Pick several options as chips, with search, "+N more" and an optional create option.

Filter Builder

Build AND/OR filter queries with nested groups. The output is plain JSON your app runs.

Beta
OTP Input

One box per digit for verification codes, with paste and one-time-code autofill.

Beta
File Upload

A drop zone and file list: pick, drop or paste files, with type, size and count checks and per-file progress.

Feedback

Countdown

Time left to a deadline, as a chip or inline text. Stays right after the tab was in the background.

Alpha
Success Check

A small success moment: a ring that pops in and a tick that draws.

Alpha
Alert

Inline contextual message with optional title, icon, and dismiss action.

Toast

Imperative toast notifications using the toast object. Render <Toaster /> once in your layout.

Spinner

Animated loading indicator. Inherits color from context.

Celebrate

A short confetti burst for a real win, such as a first payment or finishing onboarding.

Beta

Avatar

Avatar

Displays a user's profile picture with initials fallback.

Avatar Group

Stacked group of avatars with overflow count.

Loading States

Skeleton

Placeholder loading animation that mimics content layout.

Progress

Horizontal progress bar with optional tone and animation.

Disclosure

Accordion

Vertically stacked list of collapsible sections.

Collapsible

Toggle visibility of content with smooth animation.

Scroll Area

Scrollable container with custom styled scrollbars.

Interactive

Rating

Star rating input, supports controlled and read-only modes.

Slider

Range slider built on Radix UI Slider.

Toggle

Pressable toggle button built on Radix UI Toggle.

Toggle Group

Group of toggle buttons where one or many can be active.

Segmented Control

Tab-style control for mutually exclusive selections.

Overlays

Dialog

Modal dialog built on Radix UI. Fully accessible with focus trapping and ARIA roles.

Alert Dialog

Confirmation dialog that requires an explicit user action before proceeding.

Popover

Floating content panel anchored to a trigger element.

Tooltip

Floating label that appears on hover. Built on Radix UI Tooltip.

Hover Card

Rich tooltip card revealed on hover.

Drawer

Slide-in panel from any edge of the screen.

Sheet

Alias for Drawer — slide-in sheet panel.

Dropdown Menu

A menu of actions opened from a button, built on Radix.

Context Menu

A menu that opens at the pointer on right-click (or long-press), built on Radix.

AI

Diff View

A unified diff with added and removed lines, for agent changes.

Beta
Approval Card

The agent asks before it acts: what will happen, then Approve or Deny.

Beta
Tool Call

One tool call: its name and status, expandable to input and output.

Beta
Plan Tracker

An agent plan: ordered steps with done, active, pending or failed status.

Beta
Prompt Input

The composer for a chat: an auto-growing text field with Send, which turns into Stop while a reply streams.

Message Bubble

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.

Streaming Text

Assistant text as it arrives: new chunks fade in, text already shown stays still, and a caret marks the end.

Beta
Thinking Indicator

Shows the assistant is working before the first token arrives: a morphing shape and a shimmering label.

Citation

Numbered source markers for running text, with a hover preview, plus SourceChip and SourceList for the sources under a reply.

Beta

Layout

Card

Surface container for grouping related content. Supports flat, surface, and interactive variants.

Media Card

An image card with a glass caption over a soft scrim. With `href`, the whole card is one link.

Beta
Stack

Vertical stack layout with configurable gap.

Flex

Flexbox layout primitive.

Grid

CSS Grid layout primitive.

Resizable Panels

Panels with draggable separators, for list–detail and editor layouts.

Beta
Box

Generic container primitive with style token props.

Container

Centres content at a maximum width with responsive side padding.

Section

A full-width page band with vertical padding and a background tone; put a `Container` inside.

Aspect Ratio

Keeps its content at a fixed width-to-height ratio, for images, video and embeds.

Page Header

The top of a page: title, description, breadcrumb and actions.

App Shell

Full-height application frame: a header row over a body with a sidebar slot and a scrolling main region.

Dividers

Separator

A horizontal or vertical visual divider.

Gradient Divider

A decorative gradient-faded horizontal rule.

Inline Primitives

Code

Inline code span for technical terms and short code snippets.

Kbd

Keyboard key display — renders a styled <kbd> element.

Link

Styled anchor link with variant and external support.

Text Gradient

Renders text with a brand gradient fill.

Aurora

A decorative background of slow-drifting colour fields from the accent roles. Subtle by default, richer under data-expression="vivid".

Beta
Keyboard Shortcut

A key combination as `Kbd` keys joined by plus signs, read as one label.

Logo

The Nexub mark and wordmark, with an optional product name.

Visually Hidden

Content for screen readers only: hidden on screen but still read out (Radix).

Forms

Floating Input

A text field whose label sits inside and floats up on focus or input. CSS only.

Beta

Motion

Scroll Progress

A thin bar along the top that fills as the page scrolls. CSS only.

Beta
Shared Element

Morphs the same element between two states or pages inside a view transition.

Beta
Fade

Animates opacity between 0 and 1 based on the `in` prop.

Reveal

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.

Beta
Float

Gently bobs its content (floating cards over a hero visual), in marketing mode. Server component; still under reduced motion.

Beta
Marquee

A 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.

Beta
Slide

Slides content in from a direction based on the `in` prop.

Scale

Scales content in/out from its center.

Collapse

Expands and collapses content along the block axis.

Diagram

Diagram Canvas

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.

Alpha

Web Components

Number Input Element

`<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
Date Picker Element

`<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