Color
Typography
Spacing
Radius
Border
Opacity
Elevation
Blur
Avatar
Badge
Button
Checkbox
Input
ProgressBar
RadioButton
Separator
Slider
Switch
TextArea
TextLink
Accordion
Breadcrumb
ButtonGroup
Combobox
DropdownMenu
ListItem
Pagination
SegmentedControl
Select
Tooltip
Calendar
Card
CommandMenu
DatePicker
Dialog
Drawer
EmptyState
Footer
Form
NavigationBar
Sidebar
Skeleton
Table
Tabs
Toaster

Border

Border width scale and semantic border width tokens.

Usage

Components use the semantic tokens through their CSS variables; the primitives are only what they point to. Copy a variable from its card.

.element {
  border-width: var(--border-width-border-width-default);
}

Primitives

The values the semantic tokens point to. Components never use them directly.

  • border-width/00px
  • border-width/11px
  • border-width/22px

Semantic

  • border-width/none0px · border-width/0
  • border-width/default1px · border-width/1
  • border-width/focus2px · border-width/2