brijr/ui

Lab

brijr/ui

Style lab. Tokens live in app/globals.css. Components live in components/ui. We restyle here, then ship through the registry.

Components

Color

Semantic tokens from app/globals.css. Change the variables; these swatches follow.

background
card
popover
muted
secondary
accent
foreground
muted-foreground
primary
primary-foreground
destructive
border
input
ring

Type

Statement size for the page title only.

Body does the rest. Hierarchy comes from space, then color, then weight — size last.

Muted is for helper text, metadata, and secondary copy. Same size as body.

Geist Mono for code, ids, and commands.

Radius

sm
md
lg
xl

Elevation

Three levels. Popups and overlays carry their own 1px edge, and each level becomes a ring in dark mode.

--elevation-control
--elevation-popup
--elevation-overlay

Motion

Durations are named for what moves. Hover the tracks to compare them.

--duration-state
--duration-popup
--duration-overlay
--duration-layout

Button

Badge

defaultsecondaryoutlineghostdestructive

Form

Invalid state via aria-invalid.

Card

Workspace
A contained, repeatable surface — not a default wrapper.

Use a card when the block is discrete. Otherwise let spacing do the grouping.

Toggle

Tabs

Workspace stats and recent activity.

Accordion

Yes. It ships with the correct ARIA roles out of the box.

Select & Radio

Slider & Progress

Avatar & Skeleton

AL

Alert

Overlays

Hover card

Dialog, Alert & Sheet

Context menu & Collapsible

Right click here

Navigation & Menubar

Breadcrumb & Pagination

Table

InvoiceStatusTotal
INV-001Paid$250.00
INV-002Pending$150.00
INV-003Unpaid$350.00

OTP, Scroll area & Ratio

Row 1
Row 2
Row 3
Row 4
Row 5
Row 6
Row 7
Row 8
Row 9
Row 10
Row 11
Row 12
16 / 9

Install

npx shadcn@latest add brijr/ui/button
button — Button
input — Input
label — Label
field — Field
textarea — Textarea
card — Card
badge — Badge
separator — Separator
checkbox — Checkbox
switch — Switch
accordion — Accordion
alert — Alert
alert-dialog — Alert Dialog
aspect-ratio — Aspect Ratio
avatar — Avatar
breadcrumb — Breadcrumb
collapsible — Collapsible
context-menu — Context Menu
dialog — Dialog
dropdown-menu — Dropdown Menu
hover-card — Hover Card
input-otp — Input OTP
menubar — Menubar
navigation-menu — Navigation Menu
pagination — Pagination
popover — Popover
progress — Progress
radio-group — Radio Group
scroll-area — Scroll Area
select — Select
sheet — Sheet
skeleton — Skeleton
slider — Slider
table — Table
tabs — Tabs
toggle — Toggle
toggle-group — Toggle Group
tooltip — Tooltip
utils — Utils
base — brijr/ui