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
AccordionAlertAlert DialogAspect RatioAvatarBadgeBreadcrumbButtonCardCheckboxCollapsibleContext MenuDialogDropdown MenuFieldHover CardInputInput OTPLabelMenubarNavigation MenuPaginationPopoverProgressRadio GroupScroll AreaSelectSeparatorSheetSkeletonSliderSwitchTableTabsTextareaToggleToggle GroupTooltip
Color
Semantic tokens from app/globals.css. Change the variables; these swatches follow.
backgroundcardpopovermutedsecondaryaccentforegroundmuted-foregroundprimaryprimary-foregrounddestructiveborderinputringType
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
smmdlgxlElevation
Three levels. Popups and overlays carry their own 1px edge, and each level becomes a ring in dark mode.
--elevation-control--elevation-popup--elevation-overlayMotion
Durations are named for what moves. Hover the tracks to compare them.
--duration-state--duration-popup--duration-overlay--duration-layoutButton
Badge
defaultsecondaryoutlineghostdestructive
Form
Invalid state via aria-invalid.
Card
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
Heads up
You can add components to your app using the registry.
Something went wrong
Your session has expired.
Overlays
Supplementary detail
Hover cardDialog, Alert & Sheet
Context menu & Collapsible
Right click here
Navigation & Menubar
Breadcrumb & Pagination
Table
| Invoice | Status | Total |
|---|---|---|
| INV-001 | Paid | $250.00 |
| INV-002 | Pending | $150.00 |
| INV-003 | Unpaid | $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
