Library
Patterns
Patterns are higher-level, brand-agnostic composites built from @nexub/react primitives. They solve common SaaS UI problems (auth flows, stat dashboards, settings pages) out of the box. Available from @nexub/patterns; full mobile screens live in @nexub/react-native/patterns.
Data
Metric display card showing a KPI value, label, optional delta, and icon.
A greeting at the top of a home or dashboard page: what is new, or the next step for a new account.
A read-only list of steps showing where something stands: done, current, upcoming or a problem.
Search + filter toolbar pattern for data-heavy list or table views.
Chronological list of activity events with avatar, description, and timestamp.
Key–value list for displaying structured metadata or details.
Feedback
A whole page for one state: not found, server error, maintenance, offline or no access.
Single notification row for notification panels or dropdowns.
A bell with an unread count that opens the notification list.
Auth
Authentication layout pattern. Wraps sign-in, sign-up, and reset flows in a centered card.
People
User profile card displaying avatar, name, role, and optional actions.
Marketing
Pricing plan card with feature checklist, badge, and CTA button.
The site header: logo, links with mega-menus, a country switcher and actions. Below `lg` the links move into a side sheet.
The page hero: ambient backdrop, eyebrow, display headline (the page's one h1), lead, actions and a visual. Server component.
A row of customer logos under the hero, scrolling sideways (paused on hover and focus) or wrapped. Server component.
A band of headline numbers that count up as they scroll into view. StatBandItem is named apart from the StatCard pattern. Server component.
Eyebrow, headline and lead that open a section. Server component.
Text and a check list beside a visual; `reverse` swaps the sides on wide screens. Server component.
Numbered steps in an ordered list. Server component.
Product cards in a grid; each card is one link with the product's accent. Server component.
Customer quotes in product-coloured cards, with an optional star rating. Server component.
Plans side by side with a monthly / yearly switch, built on PlanCard and SegmentedControl. Client component.
Questions and answers in an Accordion, one open at a time. Client component.
The closing call to action on a primary band: the hero gradient in marketing mode. Server component.
The site footer: a tools strip, the logo, link columns and the legal line. Server component.
Layout
Grouped settings panel with title, description, and action area.
The list-detail layout: side by side at 720px+ of its own width (a container query), one pane at a time below.
A grid of card tiles in mixed sizes. Responds to its own width: 1 column, 2 at 480px, 4 at 768px.
Forms
Lists a form’s errors after a failed submit, with a link to each field. useFormErrors wires the fields to their messages.
AI
Chat layout: a scrolling message list that follows new content, with a sticky composer underneath. DateSeparator labels the days between messages.