Components and slots

Docs

A component token is a slot the kit reads: a token named after a slot becomes the CSS variable in the last column, and a token named anything else emits a variable nothing renders. Seeds to is what a new project points the slot at; a saved project may re-point it.

A slot with no seed has no token; the kit paints it with its fallback.

Slots by component

accordion

Slot Category Seeds to Variable
border color semantic:border --accordion-border
fg color semantic:foreground --accordion-fg
font-size typography typography:size.sm --accordion-font-size
font-weight typography typography:weight.medium --accordion-font-weight
padding-y spacing spacing:4 --accordion-padding-y

alert

alert variants: destructive. A variant's slot is named <variant>.<slot>.

Slot Category Seeds to Variable
bg color semantic:background --alert-bg
border color semantic:border --alert-border
destructive.fg color semantic:destructive --alert-destructive-fg
fg color semantic:foreground --alert-fg
font-size typography typography:size.sm --alert-font-size
padding spacing spacing:4 --alert-padding
radius radius semantic:radius-surface --alert-radius

avatar

Slot Category Seeds to Variable
badge-bg color semantic:primary --avatar-badge-bg
badge-fg color semantic:primary-foreground --avatar-badge-fg
bg color semantic:muted --avatar-bg
fg color semantic:muted-foreground --avatar-fg
font-size typography typography:size.sm --avatar-font-size
font-weight typography typography:weight.medium --avatar-font-weight
radius radius radius:full --avatar-radius
size spacing spacing:10 --avatar-size

badge

badge variants: secondary, destructive, outline, ghost, link. A variant's slot is named <variant>.<slot>.

Slot Category Seeds to Variable
bg color semantic:secondary --badge-bg
destructive.bg color semantic:destructive --badge-destructive-bg
destructive.fg color semantic:destructive-foreground --badge-destructive-fg
fg color semantic:secondary-foreground --badge-fg
font-size typography typography:size.xs --badge-font-size
font-weight typography typography:weight.medium --badge-font-weight
ghost.fg color semantic:foreground --badge-ghost-fg
ghost.hover-bg color semantic:accent --badge-ghost-hover-bg
ghost.hover-fg color semantic:accent-foreground --badge-ghost-hover-fg
gradient gradient --badge-gradient
link.fg color semantic:primary --badge-link-fg
outline.border color semantic:border --badge-outline-border
outline.fg color semantic:foreground --badge-outline-fg
padding-x spacing spacing:2 --badge-padding-x
padding-y spacing spacing:1 --badge-padding-y
radius radius radius:full --badge-radius
secondary.bg color semantic:secondary --badge-secondary-bg
secondary.fg color semantic:secondary-foreground --badge-secondary-fg
Slot Category Seeds to Variable
fg color semantic:muted-foreground --breadcrumb-fg
font-size typography typography:size.sm --breadcrumb-font-size
gap spacing spacing:2 --breadcrumb-gap

bubble

bubble variants: secondary, muted, outline. A variant's slot is named <variant>.<slot>.

Slot Category Seeds to Variable
bg color semantic:primary --bubble-bg
fg color semantic:primary-foreground --bubble-fg
muted.bg color semantic:muted --bubble-muted-bg
muted.fg color semantic:foreground --bubble-muted-fg
outline.border color semantic:border --bubble-outline-border
radius radius semantic:radius-surface --bubble-radius
secondary.bg color semantic:secondary --bubble-secondary-bg
secondary.fg color semantic:secondary-foreground --bubble-secondary-fg

button

button variants: secondary, destructive, outline, ghost, link. A variant's slot is named <variant>.<slot>.

Slot Category Seeds to Variable
bg color semantic:primary --button-bg
destructive.bg color semantic:destructive --button-destructive-bg
destructive.fg color semantic:destructive-foreground --button-destructive-fg
fg color semantic:primary-foreground --button-fg
font-size typography typography:size.sm --button-font-size
font-weight typography typography:weight.medium --button-font-weight
ghost.fg color semantic:foreground --button-ghost-fg
ghost.hover-bg color semantic:accent --button-ghost-hover-bg
ghost.hover-fg color semantic:accent-foreground --button-ghost-hover-fg
gradient gradient --button-gradient
link.fg color semantic:primary --button-link-fg
outline.bg color semantic:background --button-outline-bg
outline.border color semantic:border --button-outline-border
outline.fg color semantic:foreground --button-outline-fg
outline.hover-bg color semantic:accent --button-outline-hover-bg
outline.hover-fg color semantic:accent-foreground --button-outline-hover-fg
padding-x spacing spacing:4 --button-padding-x
padding-y spacing spacing:2 --button-padding-y
radius radius semantic:radius --button-radius
secondary.bg color semantic:secondary --button-secondary-bg
secondary.fg color semantic:secondary-foreground --button-secondary-fg
shadow shadow shadow:sm --button-shadow

card

Slot Category Seeds to Variable
bg color semantic:card --card-bg
blur blur --card-blur
border color semantic:border --card-border
fg color semantic:card-foreground --card-fg
gradient gradient --card-gradient
padding spacing spacing:6 --card-padding
radius radius semantic:radius-surface --card-radius
shadow shadow shadow:sm --card-shadow

checkbox

Slot Category Seeds to Variable
bg color semantic:primary --checkbox-bg
border color semantic:input --checkbox-border
fg color semantic:primary-foreground --checkbox-fg
radius radius radius:sm --checkbox-radius
size spacing spacing:4 --checkbox-size

cta-band

Slot Category Seeds to Variable
gradient gradient --cta-band-gradient

dialog

Slot Category Seeds to Variable
bg color semantic:popover --dialog-bg
blur blur --dialog-blur
fg color semantic:popover-foreground --dialog-fg
padding spacing spacing:6 --dialog-padding
radius radius semantic:radius-surface --dialog-radius
shadow shadow shadow:lg --dialog-shadow

dropdown-menu variants: destructive. A variant's slot is named <variant>.<slot>.

Slot Category Seeds to Variable
bg color semantic:popover --dropdown-menu-bg
blur blur --dropdown-menu-blur
border color semantic:border --dropdown-menu-border
destructive.fg color semantic:destructive --dropdown-menu-destructive-fg
fg color semantic:popover-foreground --dropdown-menu-fg
font-size typography typography:size.sm --dropdown-menu-font-size
padding spacing spacing:1 --dropdown-menu-padding
radius radius semantic:radius-surface --dropdown-menu-radius
shadow shadow shadow:md --dropdown-menu-shadow

empty

Slot Category Seeds to Variable
bg color semantic:muted --empty-bg
fg color semantic:foreground --empty-fg
radius radius semantic:radius --empty-radius

hero

Slot Category Seeds to Variable
gradient gradient --hero-gradient

input

Slot Category Seeds to Variable
bg color semantic:background --input-bg
border color semantic:input --input-border
fg color semantic:foreground --input-fg
font-size typography typography:size.sm --input-font-size
padding-x spacing spacing:3 --input-padding-x
padding-y spacing spacing:2 --input-padding-y
radius radius semantic:radius --input-radius

item

item variants: outline, muted. A variant's slot is named <variant>.<slot>.

Slot Category Seeds to Variable
muted.bg color semantic:muted --item-muted-bg
muted.fg color semantic:foreground --item-muted-fg
outline.border color semantic:border --item-outline-border
padding spacing spacing:4 --item-padding
radius radius semantic:radius --item-radius

kbd

Slot Category Seeds to Variable
bg color semantic:muted --kbd-bg
border color semantic:border --kbd-border
fg color semantic:muted-foreground --kbd-fg
font-size typography typography:size.xs --kbd-font-size
padding-x spacing spacing:1 --kbd-padding-x
radius radius radius:sm --kbd-radius
Slot Category Seeds to Variable
bg color semantic:background --menubar-bg
border color semantic:border --menubar-border
fg color semantic:foreground --menubar-fg
padding spacing spacing:1 --menubar-padding
radius radius semantic:radius --menubar-radius

popover

Slot Category Seeds to Variable
bg color semantic:popover --popover-bg
blur blur --popover-blur
border color semantic:border --popover-border
fg color semantic:popover-foreground --popover-fg
padding spacing spacing:4 --popover-padding
radius radius semantic:radius-surface --popover-radius
shadow shadow shadow:md --popover-shadow

progress

Slot Category Seeds to Variable
bg color semantic:secondary --progress-bg
fg color semantic:primary --progress-fg
radius radius radius:full --progress-radius
size spacing spacing:2 --progress-size

radio-group

Slot Category Seeds to Variable
bg color semantic:primary --radio-group-bg
border color semantic:input --radio-group-border
gap spacing spacing:3 --radio-group-gap
radius radius radius:full --radio-group-radius
size spacing spacing:4 --radio-group-size

select

Slot Category Seeds to Variable
bg color semantic:background --select-bg
border color semantic:input --select-border
fg color semantic:foreground --select-fg
font-size typography typography:size.sm --select-font-size
padding-x spacing spacing:3 --select-padding-x
padding-y spacing spacing:2 --select-padding-y
radius radius semantic:radius --select-radius
shadow shadow shadow:sm --select-shadow

separator

Slot Category Seeds to Variable
bg color semantic:border --separator-bg
border-width border border:1 --separator-border-width

sheet

Slot Category Seeds to Variable
bg color semantic:background --sheet-bg
blur blur --sheet-blur
border color semantic:border --sheet-border
fg color semantic:foreground --sheet-fg
padding spacing spacing:6 --sheet-padding
shadow shadow shadow:lg --sheet-shadow
Slot Category Seeds to Variable
width spacing spacing:64 --sidebar-width
width-icon spacing spacing:12 --sidebar-width-icon

skeleton

Slot Category Seeds to Variable
bg color semantic:muted-foreground --skeleton-bg
radius radius semantic:radius --skeleton-radius

slider

Slot Category Seeds to Variable
bg color semantic:secondary --slider-bg
fg color semantic:primary --slider-fg
radius radius radius:full --slider-radius
size spacing spacing:4 --slider-size

spinner

Slot Category Seeds to Variable
fg color semantic:muted-foreground --spinner-fg

switch

Slot Category Seeds to Variable
bg color semantic:primary --switch-bg
border color semantic:input --switch-border
fg color semantic:background --switch-fg
radius radius radius:full --switch-radius
size spacing spacing:5 --switch-size

table

Slot Category Seeds to Variable
border color semantic:border --table-border
fg color semantic:foreground --table-fg
font-size typography typography:size.sm --table-font-size
padding-x spacing spacing:2 --table-padding-x
padding-y spacing spacing:2 --table-padding-y

tabs

tabs variants: line. A variant's slot is named <variant>.<slot>.

Slot Category Seeds to Variable
bg color semantic:muted --tabs-bg
fg color semantic:muted-foreground --tabs-fg
font-size typography typography:size.sm --tabs-font-size
font-weight typography typography:weight.medium --tabs-font-weight
line.active-fg color semantic:foreground --tabs-line-active-fg
line.fg color semantic:muted-foreground --tabs-line-fg
line.indicator color semantic:foreground --tabs-line-indicator
padding spacing spacing:1 --tabs-padding
radius radius semantic:radius --tabs-radius

textarea

Slot Category Seeds to Variable
bg color semantic:background --textarea-bg
border color semantic:input --textarea-border
fg color semantic:foreground --textarea-fg
font-size typography typography:size.sm --textarea-font-size
padding-x spacing spacing:3 --textarea-padding-x
padding-y spacing spacing:2 --textarea-padding-y
radius radius semantic:radius --textarea-radius

toast

Slot Category Seeds to Variable
bg color semantic:popover --toast-bg
blur blur --toast-blur
border color semantic:border --toast-border
fg color semantic:popover-foreground --toast-fg
font-size typography typography:size.sm --toast-font-size
padding spacing spacing:4 --toast-padding
radius radius semantic:radius-surface --toast-radius
shadow shadow shadow:lg --toast-shadow

toggle

toggle variants: outline. A variant's slot is named <variant>.<slot>.

Slot Category Seeds to Variable
bg color semantic:accent --toggle-bg
fg color semantic:accent-foreground --toggle-fg
font-size typography typography:size.sm --toggle-font-size
font-weight typography typography:weight.medium --toggle-font-weight
outline.border color semantic:input --toggle-outline-border
outline.hover-bg color semantic:accent --toggle-outline-hover-bg
outline.hover-fg color semantic:accent-foreground --toggle-outline-hover-fg
padding-x spacing spacing:3 --toggle-padding-x
padding-y spacing spacing:2 --toggle-padding-y
radius radius semantic:radius --toggle-radius

tooltip

Slot Category Seeds to Variable
bg color semantic:primary --tooltip-bg
fg color semantic:primary-foreground --tooltip-fg
font-size typography typography:size.xs --tooltip-font-size
padding-x spacing spacing:3 --tooltip-padding-x
padding-y spacing spacing:1 --tooltip-padding-y
radius radius semantic:radius --tooltip-radius