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

Opacity

Opacity scale and semantic opacity 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 {
  opacity: var(--opacity-glass);
}

Primitives

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

  • opacity/00
  • opacity/100.1
  • opacity/400.4
  • opacity/600.6
  • opacity/1001

Semantic

  • opacity/glass0.1 · opacity/10
  • opacity/disabled0.4 · opacity/40
  • opacity/muted0.6 · opacity/60
  • opacity/full1 · opacity/100