UIInternal UI

Primitives

84 theme-aware building blocks. Every specimen renders the shipped component — switch the theme and the whole page follows.

Accordion

Vertically stacked collapsibles with single or multiple open items.

@general-design-company/internal-ui/components/primitives/accordion

Alert

Inline status message with title and description slots.

@general-design-company/internal-ui/components/primitives/alert

AlertDialog

Modal interruption for destructive confirmations. No outside dismiss.

@general-design-company/internal-ui/components/primitives/alert-dialog

AspectRatio

Fixed-ratio box for media and previews.

@general-design-company/internal-ui/components/primitives/aspect-ratio
16 / 9

Avatar

Image with initials fallback. One shape everywhere an agent or person appears.

@general-design-company/internal-ui/components/primitives/avatar
CNTRUI

Background

The pixelated desert wallpaper. `white` and `black` are the theme pair — the default scene follows the theme; the other three are opt-in by name.

@general-design-company/internal-ui/components/primitives/background
Desert scene: white
white
Desert scene: black
black
Desert scene: full-color
full-color
Desert scene: purple
purple
Desert scene: blue
blue

Badge

Small status or category chip. Variants carry the meaning.

@general-design-company/internal-ui/components/primitives/badge
DefaultSecondaryDestructiveOutline

Button

Variants, tones, and sizes. The resting border is a 1px inset ring, not a border.

@general-design-company/internal-ui/components/primitives/button

ButtonGroup

Joined row of buttons and labels that share one border.

@general-design-company/internal-ui/components/primitives/button-group

Calendar

Month grid for picking dates. Backs the DatePicker popup.

@general-design-company/internal-ui/components/primitives/calendar
September 2026

Card

The one card style. Showcase pages compose it, never restyle it.

@general-design-company/internal-ui/components/primitives/card
Internal UI
The shared kit, on display.
Every specimen here renders the shipped component.

Chart

Recharts with theme tokens. Config maps series to chart-N hues.

@general-design-company/internal-ui/components/primitives/chart

Checkbox

Binary control with the theme's control border. Always pair with a Label.

@general-design-company/internal-ui/components/primitives/checkbox

ClickableCard

A Card that renders as a link (href) or a button (onClick), with hover/active surface steps.

@general-design-company/internal-ui/components/primitives/clickable-card

As a link

Renders an anchor.

Collapsible

Single show/hide region. Accordion is stacks of these.

@general-design-company/internal-ui/components/primitives/collapsible

ColorContrast

Live WCAG ratio with pass badge. Render inside a ColorSwatch so it reads the base color.

@general-design-company/internal-ui/components/primitives/color-contrast
foreground on card
n/a

ColorPalette

A ladder of color stops with optional labels. See Foundations for the live palette.

@general-design-company/internal-ui/components/primitives/color-palette
--chart-1
--chart-2
--chart-3
--chart-4
--chart-5

ColorPicker

Batteries-included color popover. The drop-in replacement for <input type=color>.

@general-design-company/internal-ui/components/primitives/color-picker
Click the swatch to open the picker.

ColorSwatch

A color block with positioned overlay slots for labels and badges.

@general-design-company/internal-ui/components/primitives/color-swatch

Combobox

Base-UI autocomplete with input group, popup list, and mobile sheet presentation.

@general-design-company/internal-ui/components/primitives/combobox

ComboboxTrigger

The simple trigger button for hand-rolled popups. Wears the shared trigger face.

@general-design-company/internal-ui/components/primitives/combobox-trigger

Command

cmdk command menu: input, list, groups, and empty state.

@general-design-company/internal-ui/components/primitives/command

ContextMenu

Right-click menu for canvas and row surfaces.

@general-design-company/internal-ui/components/primitives/context-menu
Right-click here

DatePicker

Calendar popup in field chrome. Empty reads --/--/--, muted, with no icon.

@general-design-company/internal-ui/components/primitives/date-picker

Dialog

Centered modal with header, footer, and focus restoration.

@general-design-company/internal-ui/components/primitives/dialog

DialogForm

A real <form> for dialog bodies. Cmd/Ctrl+Enter submits; plain Enter in a textarea stays a newline. Promoted from the console.

@general-design-company/internal-ui/components/primitives/dialog-form

Direction

RTL/LTR provider and hook. Flip a region to prove mirroring holds.

@general-design-company/internal-ui/components/primitives/direction
.\u0647\u0630\u0627 \u0646\u0635 \u062a\u062c\u0631\u064a\u0628\u064a \u0644\u0627\u062a\u062c\u0627\u0647 RTL

The button docks to the inline-start side automatically.

Drawer

Bottom sheet for touch; anchored popover content on desktop via the shared sheet layer.

@general-design-company/internal-ui/components/primitives/drawer

Empty

Zero-state composition: media, title, description, and an action slot.

@general-design-company/internal-ui/components/primitives/empty
No projects yet
Create your first project to see specimens here.

ErrorState

Friendly one-liner plus retry plus technical disclosure. Never leaks JSON/SQL/schema. Promoted from the console.

@general-design-company/internal-ui/components/primitives/error-state

Field

Label + control + description/error stack. The shape every form row uses.

@general-design-company/internal-ui/components/primitives/field

We never share it.

Form

react-hook-form bindings: FormField wires label, control, description, and message to one id.

@general-design-company/internal-ui/components/primitives/form

Validated with react-hook-form.

HighlightedText

Case-insensitive multi-match <mark> highlighter for log lines and preformatted text. Promoted from the console (alias LogLineHighlight).

@general-design-company/internal-ui/components/primitives/highlighted-text
[ok] deploy finished in 41.2s[warn] deploy skipped: no changes[error] nothing matched this line

HoverCard

Rich hover preview for records, agents, and links.

@general-design-company/internal-ui/components/primitives/hover-card

IconProvider

Sets the default Phosphor weight for a subtree so icons stop declaring it one by one.

@general-design-company/internal-ui/components/primitives/icon-provider

Input

Single-line field on the shared resting border. Sizes match buttons.

@general-design-company/internal-ui/components/primitives/input

InfoWrapper

Labelled container: hairline border, label and optional icon top left, formatted value top right, anything below.

@general-design-company/internal-ui/components/primitives/info-wrapper
Groceries$412.55

Wraps a budget, an account, a card group, or a row of stat tiles.

Revenue12.4%
Churn3.1%

InputGroup

Input with addons: leading icons, trailing buttons, and prefix/suffix text.

@general-design-company/internal-ui/components/primitives/input-group

InputOTP

One-time-code slots with caret, separator support, and paste handling.

@general-design-company/internal-ui/components/primitives/input-otp

Item

List-row composition: media, title/description content, and trailing actions.

@general-design-company/internal-ui/components/primitives/item
Design tokens

Updated 2h ago

Archived sprint

Read-only

Kbd

Keyboard glyphs, alone or grouped. The dialog submit button wears these.

@general-design-company/internal-ui/components/primitives/kbd
Ctrl

Label

Form label bound to a control by htmlFor. Never a bare <span>.

@general-design-company/internal-ui/components/primitives/label

NativeSelect

The platform <select> in kit chrome. Reaches for this when custom popups buy nothing.

@general-design-company/internal-ui/components/primitives/native-select

Pagination

Page links with previous/next and ellipsis for long runs.

@general-design-company/internal-ui/components/primitives/pagination

PerspectiveBook

3D book that opens on click, with header/title/description slots for the cover.

@general-design-company/internal-ui/components/primitives/perspective-book

Left page content.

Right page content.

Internal UI

Click to open.

Popover

Anchored floating panel for pickers, filters, and small forms.

@general-design-company/internal-ui/components/primitives/popover

Progress

Determinate bar for uploads, builds, and multi-step flows.

@general-design-company/internal-ui/components/primitives/progress

PromptLoading

Terminal-native pending line: $ plus braille spinner plus blink caret. Promoted from the console.

@general-design-company/internal-ui/components/primitives/prompt-loading
loading
deploying

RadioGroup

Single-choice control with the theme's control border.

@general-design-company/internal-ui/components/primitives/radio-group

Resizable

Drag-to-resize panel groups with keyboard-accessible handles.

@general-design-company/internal-ui/components/primitives/resizable
Left panel
Right panel

ScrollArea

Themed scrollbars for dense panels and dropdowns.

@general-design-company/internal-ui/components/primitives/scroll-area

Row 1 — scroll me

Row 2 — scroll me

Row 3 — scroll me

Row 4 — scroll me

Row 5 — scroll me

Row 6 — scroll me

Row 7 — scroll me

Row 8 — scroll me

Row 9 — scroll me

Row 10 — scroll me

Row 11 — scroll me

Row 12 — scroll me

Row 13 — scroll me

Row 14 — scroll me

Row 15 — scroll me

Row 16 — scroll me

Row 17 — scroll me

Row 18 — scroll me

Row 19 — scroll me

Row 20 — scroll me

Select

Single-choice dropdown. The trigger wears the shared trigger face.

@general-design-company/internal-ui/components/primitives/select

Separator

Hairline rule, horizontal or vertical, with spacing built in.

@general-design-company/internal-ui/components/primitives/separator

Above

Below

Left
Right

Sheet

Edge-anchored panel for detail views and inspectors.

@general-design-company/internal-ui/components/primitives/sheet

Skeleton

Pulse placeholder that reserves layout while content loads.

@general-design-company/internal-ui/components/primitives/skeleton

SkeletonSwap

Skeleton with delayed paint and minimum hold, so fast loads never blink.

@general-design-company/internal-ui/components/primitives/skeleton-swap

The content arrived. Flip back to see the skeleton hold.

Slider

Single or range slider on the theme track.

@general-design-company/internal-ui/components/primitives/slider

Sonner

Sonner-powered toaster. Fire with toast() from the sonner package.

@general-design-company/internal-ui/components/primitives/sonner

Spinner

Row-level spinner for buttons and inline pending states. Route-level pending uses PromptLoading.

@general-design-company/internal-ui/components/primitives/spinner

StatTile

Labelled KPI number on a Card. Promoted from the console after its third duplication.

@general-design-company/internal-ui/components/primitives/stat-tile
Components

204

and counting

Categories

12

Auth required

None

fully public

Switch

Binary toggle with the theme's control border.

@general-design-company/internal-ui/components/primitives/switch

Table

Uncontrolled data table: header, body, footer, caption. Reach for DataTable for sorting/filtering.

@general-design-company/internal-ui/components/primitives/table
NameRoleShipped
Ada LovelaceEngineer1843
Grace HopperAdmiral1952

Tabs

Tabbed regions with underline (line) and pill variants.

@general-design-company/internal-ui/components/primitives/tabs
The live specimen.

Textarea

Multi-line field. Plain Enter stays a newline; DialogForm adds Cmd+Enter submit.

@general-design-company/internal-ui/components/primitives/textarea

Toast

Radix toast primitives plus the useToast queue hook. The Toaster below renders the queue.

@general-design-company/internal-ui/components/primitives/toast

    Toaster

    Mount once at the app root. Renders the useToast queue; fire with toast().

    @general-design-company/internal-ui/components/primitives/toaster

      Toggle

      Pressed-state button for bold/italic-style formatting controls.

      @general-design-company/internal-ui/components/primitives/toggle

      ToggleGroup

      Single or multiple pressed toggles sharing one border.

      @general-design-company/internal-ui/components/primitives/toggle-group

      Token

      Clickable design-token chips with value tooltips. The Foundations page is built on these.

      @general-design-company/internal-ui/components/primitives/token

      Tooltip

      Hover hint for icon buttons and truncated labels.

      @general-design-company/internal-ui/components/primitives/tooltip

      TriggerFace

      The closed face every picker wears: border, radius, padding, caret. Consume as classes, not a component.

      @general-design-company/internal-ui/components/primitives/trigger-face

      ValueFlash

      Number that pops green/red when its value moves. Honors reduced motion.

      @general-design-company/internal-ui/components/primitives/value-flash
      $1,284