Skip to content
Slotted

Select

A button that shows the current choice and opens a list of options, for one value or several from a set the application already knows.

New orders ship from this warehouse.

Installation

The packages are a 0.x beta on npm, and their public API changes between beta releases without deprecation. One line installs the binding and the default theme.

bash
pnpm add @slotted/react @slotted/theme @slotted/themes
tsx
import { Select, SelectContent, SelectGroup, SelectItem,  SelectSeparator, SelectTrigger, SelectValue } from '@slotted/react';

Placeholder and initial value

The placeholder fills the control while nothing is chosen. A select that starts with a value needs items, the list of values and labels: the options are built only when the list first opens, so without items the closed control shows the raw value, such as net-30, instead of its label.

Sizes

size sets the control to one step of the control scale: sm for toolbars and dense tables, md for most forms, lg for sparse forms. A select is the same height as a text field of the same size. Inside a field, an unset size follows the field.

Variants

outline is the default frame. subtle fills the control, for a form on a tinted surface. plain draws no frame at rest, for a table cell or a toolbar, and still shows hover and focus.

Groups

SelectGroup in React and sl-select-group in Angular put a run of options under a heading, which assistive technology reads with each option. SelectSeparator and sl-select-separator draw a line between runs.

Icons and descriptions

icon fills the first column of an option and description writes a second line under its label. In React icon takes any element; in Angular it names a glyph. Every label starts on the same edge whether or not its option has an icon.

Disabled options

A disabled option stays in the list, is announced as unavailable and is skipped by the arrow keys and by typeahead. Put the reason in its description, so the reader knows why it cannot be chosen.

States

Set invalid, readOnly and disabled on the field, which passes them to the select; each can also be set on the select itself. Invalid draws the border and the focus ring in the danger tone and sets aria-invalid. Read-only keeps the value legible and focusable and never opens. Disabled takes the control out of the tab order.

Error:Savannah does not accept returns. Choose Reno or Columbus.

Set when the order was picked.

Transfers open once the order is invoiced.

Controlled

Pass value and update it from onValueChange when other parts of the screen depend on the choice; in Angular, bind [(value)] to a signal. The handler receives a string for a single select, an array for a multiple one, and null once the value is cleared.

Arrives in 3–5 business days. Shipping: $8.40

Clearing

clearable adds a clear button once something is chosen. The button sets the value to null, the control shows its placeholder again, and focus returns to the control.

Clear the assignee to return the ticket to the queue.

Multiple selection

multiple keeps the list open as options are chosen, and Space toggles the highlighted option without closing it. Each chosen value appears in the control as a tag with its own remove button; values that do not fit collapse into a +N tag, and the top of the open list shows all of them. The value is an array.

FulfilmentFinance

Each team gets an email when the order is delayed.

Searching long lists

search puts a filter field at the top of the list. The query matches labels with a locale-sensitive comparison that ignores case and accents, so cote finds Côte d’Ivoire, and the matched span is marked. The query is never a value: it is emptied when an option is chosen or the list closes. Without search, typing on the closed or open control jumps to the first option that starts with the typed letters.

Long labels

An option label wraps to two lines and then truncates, with the whole text still in the DOM. An unbroken identifier breaks inside the option instead of widening the list. The closed control keeps to one line.

Loading options

Set loading while options are on their way. The chevron becomes a spinner, the list shows three placeholder rows, and a status row announces the loading message. Here the options are requested the first time the list opens, from onOpenChange in React and (openChange) in Angular.

Slots load from the carrier when the list opens.

Empty list

A select with no options opens onto the empty message instead of an empty box. Write a message that says why the list is empty.

Only orders awaiting receipt are listed.

In a form

In React, name renders a hidden native select, so FormData reads the value and a native reset restores defaultValue. In Angular, the select is a form control: formControlName, formControl and ngModel bind the value, and Validators.required applies to it. Submit without a warehouse to see the error, then reset.

Error:

Placement and width

The list opens below the control, aligned to its start edge, never narrower than the control and wider when an option needs the room, up to a maximum measure. side="top" opens it above, for a control at the bottom of a screen; align="end" aligns it to the end edge; width="anchor" pins it to the control’s width. fullWidth={false} lets the control keep the width of its widest value instead of filling its container.

Narrow controls

Under 120 pixels a multiple select shows a count such as 3 selected instead of tags; the list still grows past the narrow control, so labels keep their length.

Web storeMarketplaceWholesale

Defaults for a section

SelectDefaultsProvider in React and provideSelectDefaults in Angular set any axis once for every select under them, such as size, variant and clearable for a filter panel. A value set on one select still wins.

Status filter in a table toolbar

A compact select above a table filters its rows by status. fullWidth={false} keeps the control at the width of its value, align="end" keeps the list inside the edge of the table, and a separator sets the “all” option apart from the statuses.

6 of 6 orders
OrderCustomerStatusTotal
SO-10482Harbor & PineOpen$1,240.00
SO-10483Brightline StudioOn hold$318.50
SO-10484Northgate LabsShipped$2,906.10
SO-10485Verde KitchenDelayed$86.00
SO-10486Quill & Co.Shipped$540.25
SO-10487Atlas FreightOpen$1,912.00

Accessibility

KeyEffectFocus
ArrowDownclosed, opens the popup onto the selected option or the first; open, moves the highlight to the next option, wrapping only when loop is truestays on the trigger; the highlight moves and aria-activedescendant follows it
ArrowUpclosed, opens the popup onto the last option; open, moves the highlight to the previous option. The example opens onto the first; the last is the mirror of ArrowDown and what every surveyed implementation does, and the departure is recorded in the design.the trigger
Alt+ArrowDownopens the popup without moving the highlightthe trigger
Alt+ArrowUpcommits the highlighted option and closesthe trigger
Enterclosed, opens; open, commits the highlighted option and closesthe trigger
Spaceclosed, opens; open and single, commits and closes; open and multiple, toggles the highlighted option and keeps the popup open, which is the listbox pattern's recommended multiple-selection modelthe trigger
Homeopens if closed, and highlights the first optionthe trigger
Endopens if closed, and highlights the last optionthe trigger
PageDownmoves the highlight ten options on, or to the last, and never wrapsthe trigger
PageUpmoves the highlight ten options back, or to the first, and never wrapsthe trigger
Printable characteropens if closed, and highlights the first option whose label begins with the sequence typed; the same character repeated cycles through the options beginning with itthe trigger
Escapecloses without committing anythingthe trigger
Tabcommits the highlighted option, closes, and moves on. The example states this and notes it differs from a native select, which closes and does not move.the next element in the page
  • The trigger is a button with role="combobox", aria-haspopup="listbox" and aria-expanded. The list is a listbox with an option for each row.
  • DOM focus stays on the trigger. aria-activedescendant names the highlighted option, which also carries data-current; chosen options carry aria-selected and data-selected. The highlight is where the keyboard is; the selection is what was chosen.
  • A disabled option carries aria-disabled, keeps its place in the list, and is skipped by every movement key, typeahead included.
  • Inside a field, the trigger carries the field’s control id, so a press on the label focuses it without opening the list. The trigger also takes the label through aria-labelledby, because the name a label gives a button does not reliably reach a button with role="combobox". Outside a field, give SelectTrigger an aria-label.
  • With search, the list is a dialog that holds a search field and a listbox, the trigger sets aria-haspopup="dialog", and focus moves into the search field while the list is open.
  • Tab chooses the highlighted option and moves focus on, as the APG select-only example specifies; a native select only closes. Escape closes without choosing.

API

Select

Props

searchbooleanDefault false
Puts a search field at the top of the list. The list becomes a dialog, DOM focus moves into the search field, and typeahead turns off.
searchValuestring
The search query. Passing it makes the query controlled. It is never the selection.
defaultSearchValuestringDefault ''
The query an uncontrolled search field starts with. Read once.
filter((label: string, query: string) => boolean) | nullDefault createFilter
Decides whether an option matches the query. Unset uses a locale-sensitive contains that ignores case and accents. null turns filtering off, for a list a server has already filtered. A function replaces the comparison.
highlightMatchbooleanDefault true
Whether the span of a label that matched the query is marked.
localestring
The BCP 47 language the default filter compares in. Defaults to the language in force.
searchPropsSelectSearchProps
On SelectContentProps for the search field: every native input attribute, icon, and render to replace the row around the field.
valuestring | string[] | null
The chosen value, or values when multiple is set. Passing it makes the selection controlled.
defaultValuestring | string[] | null
The value an uncontrolled select starts with, and the value a form reset restores. Read once.
openboolean
Whether the list is open. Passing it makes the open state controlled.
defaultOpenbooleanDefault false
Whether an uncontrolled select starts open.
highlightedValuestring | null
The highlighted option. Passing it makes the highlight controlled. The highlight is where the keyboard is, not what is chosen.
defaultHighlightedValuestring | null
The option an uncontrolled highlight starts on.
itemsSelectItems
Values with their labels, read before any option renders. Without it, a held value takes its label from its SelectItem: while the list is closed and a held value has no label, the options render once outside the document and register theirs. Pass items when the options are not rendered until the list opens, such as options fetched on open.
namestring
The name the value is submitted under. It renders a hidden native select, which FormData reads and a form reset restores.
formstring
The id of the form the control belongs to, when it is not the enclosing form.
totalnumber
The size of the whole collection when only part of it is rendered. Options with position then carry aria-setsize and aria-posinset.
size'sm' | 'md' | 'lg'Default md
The step of the control scale. When unset, the select takes the size of its field.
variant'outline' | 'subtle' | 'plain'Default outline
How much frame the control draws: an outline, a filled subtle frame, or plain, with no frame at rest.
side'bottom' | 'top' | 'inline-start' | 'inline-end' | 'left' | 'right'Default bottom
The edge of the control the list opens from.
align'start' | 'center' | 'end'Default start
Where the list aligns along that edge.
width'anchor' | 'content'Default content
content keeps the list at least as wide as the control and widens it to its longest option; anchor pins it to the width of the control.
mount'active' | 'lazy' | 'eager'Default active
When the list exists in the DOM: active while it is open, lazy from the first open on, eager from the start.
strategy'absolute' | 'fixed'Default absolute
The CSS position the positioner gives the list.
multiplebooleanDefault false
Allows several values. The value becomes an array, and the list stays open as options are chosen.
clearablebooleanDefault false
Draws a clear button once something is chosen.
loopbooleanDefault false
Whether the arrow keys wrap from the last option to the first.
typeaheadbooleanDefault true
Whether typing the first letters of a label highlights the matching option. Off while search is set.
typeaheadTimeoutnumberDefault 500
How long typed letters keep building one search, in milliseconds.
closeOnSelectbooleanDefault true
Whether choosing an option closes the list. A multiple select stays open regardless.
closeOnEscapebooleanDefault true
Whether Escape closes the list.
closeOnOutsidePressbooleanDefault true
Whether a press outside the list closes it.
flipbooleanDefault true
Whether the list may open on the opposite side when it does not fit.
shiftbooleanDefault true
Whether the list may slide along its edge to stay in view.
hideWhenDetachedbooleanDefault true
Whether the list hides while its control is scrolled out of view.
portalbooleanDefault true
Whether the list renders at the end of the document instead of inside the control.
presentation'popover' | 'auto'Default popover
On Select, SelectDefaultsProviderauto draws the listbox in a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, headed by the field’s label, every option at least --slotted-target-min tall, dismissed by its grip, its scrim, Escape and the platform’s way back, with focus given back to the trigger. A select with search keeps its anchored list, because the on-screen keyboard covers the bottom of the screen.
fullWidthbooleanDefault true
Whether the control fills its container. false sizes it to its widest value.
disabledbooleanDefault false
Disables the control and takes it out of the tab order. When unset, the select takes the state of its field.
readOnlybooleanDefault false
Keeps the value visible and focusable and never opens the list. When unset, the select takes the state of its field.
requiredbooleanDefault false
Sets aria-required, and the required attribute of the hidden native select. When unset, the select takes the state of its field.
invalidbooleanDefault false
Sets aria-invalid and draws the border and the focus ring in the danger tone. When unset, the select takes the state of its field.
loadingbooleanDefault false
Shows the spinner, three placeholder rows and the loading message, and sets aria-busy on the listbox.
sideOffsetnumberDefault 4
The gap between the control and the list, in pixels.
alignOffsetnumberDefault 0
How far the list shifts along its edge, in pixels.
collisionPaddingnumberDefault 8
The distance the list keeps from the edges of the viewport, in pixels.
messagesPartial<SelectMessages>
Replaces any of the phrases the select writes: clear, remove ({label}), summary ({count}), search, searchPlaceholder, count ({count}), empty and loading. Phrases left out come from the language in force.
placeholderReactNode
On SelectValueWhat the control shows while nothing is chosen.
children(values, labels) => ReactNode
On SelectValueA function of the chosen values and their labels that returns what the control shows, in place of the built-in summary.
emptyReactNode
On SelectContentReplaces the empty message for this list.
statusReactNode
On SelectContentReplaces the loading message for this list.
valuestring
On SelectItemThe option’s value: what is submitted and what a change request carries.
disabledbooleanDefault false
On SelectItemAnnounces the option as unavailable, keeps it in the list, and skips it with every movement key.
descriptionReactNode
On SelectItemA second line under the label.
iconReactNode
On SelectItemAn element for the first column, such as an Icon holding a Glyph.
textValuestring
On SelectItemThe text typeahead and the filter match on, when the label is not plain text.
positionnumber
On SelectItemThe option’s one-based place in the whole collection, written as aria-posinset.
labelReactNode
On SelectGroupThe group’s heading, which names the group through aria-labelledby.

Events

NamePayloadWhen
onValueChange(value: string | string[] | null, request: ChangeRequest)Before the selection changes. request.reason is pointer, keyboard, clear, select or programmatic, and request.cancel() refuses the change. A form reset reports programmatic.
onOpenChange(open: boolean, request: ChangeRequest)Before the list opens or closes. request.reason tells a choice from a dismissal: select, escape, outsidePress, pointer, keyboard, dismiss, blur or programmatic.
onHighlightedValueChange(value: string | null, request: ChangeRequest)Before the highlight moves. request.reason is pointer, keyboard or programmatic.
onSearchValueChange(value: string, request: ChangeRequest)Before the query changes. request.reason is keyboard for typing, select when an option is chosen while the list stays open, and clear when Escape empties the field or the list empties it as it opens and closes.

Composition

SelectDefaultsProvidercomponent
On ApplicationSets any axis once for every select below it. The words come from the language in force, set by SlottedProvider. A prop set on one select still wins.
render(props) => ReactNode
On SelectTrigger, SelectContentReplaces the frame of SelectTrigger or the layer of SelectContent. The button and the listbox carry the role and the wiring, so they cannot be replaced.
refRef<SelectHandle>
A handle with focus(), open(), close(), focusSearch() and scrollToKey(value).
refRef<HTMLButtonElement>
On SelectTriggerThe button element.
native propsComponentPropsWithRef<…>
On every partEach part accepts the props of its own element. Your onClick, onKeyDown or aria-label reaches that element, and the select’s own handler runs alongside yours instead of replacing it.

Parts

PartElementRequiredPurpose
rootdiv, rendered by SelectTriggerYesThe frame, carrying data-ui="select". It draws the border, the shadow, the focus ring and every state, as the text field frame does: a focus ring can only be drawn by an ancestor of the focused element.
triggerbutton with role="combobox"YesThe button with role="combobox". It fills the frame, keeps DOM focus for the whole interaction, and carries aria-expanded, aria-controls and aria-activedescendant. Inside a field it carries the field’s control id, so a press on the label focuses it.
valuespan, rendered by SelectValueYesWhat the control shows: the chosen label, a summary of several, or the placeholder. It carries data-placeholder while nothing is chosen, and data-unmatched when a value has no known label.
arrowspanYesThe chevron, a Glyph inside an Icon box, turned over while the list is open. It sits against the end of the frame and takes no pointer events, so a press on it reaches the trigger.
busyspanNoThe spinner, drawn in place of the chevron while loading is set. It carries data-ui="spinner", so its ring comes from the spinner stylesheet.
tagsspanNoThe chosen values of a multiple select, one tag each, laid over the trigger rather than inside it: a remove button inside a button would be a control inside a control. Tags that do not fit collapse into one +N tag.
summaryspanNoThe text a multiple select shows under 120 pixels instead of tags, such as ‘3 selected’. It sits inside the value, so it names the trigger whichever of the two is drawn, and it is visually hidden rather than removed while the tags are shown.
clearbuttonNoThe clear button. It is drawn while clearable is set and something is chosen, as a sibling of the trigger rather than a child: a focusable element inside a combobox would be a widget inside a widget.
positionerdiv, rendered by SelectContentYesThe layer, portalled to the end of the document. It carries data-ui="select" again, because a stylesheet cannot reach the portalled list through the root. The positioner writes its position on this element, and this element scales and fades.
backdropdivNoThe scrim over the page while the listbox is a sheet (presentation="auto" on a phone), aria-hidden. A press on it closes the sheet.
contentdiv with role="listbox", or role="dialog" under search and in the sheetYesThe list surface. It defines the three columns every option uses, is bounded by the height the positioner reports, and scrolls inside it. With search it becomes a dialog that holds the search field and the list, because a listbox may hold only options and groups.
gripspanNoThe bar at the top of the sheet, aria-hidden. A pull down on it dismisses the sheet; Escape, the scrim and the platform’s way back are the other ways out.
headerdivNoThe row above the list of the sheet, holding its title.
titledivNoThe heading of the sheet: the label of the control, as a reader hears it. It names the dialog the sheet is.
searchdiv, drawn only under searchNoThe search row, fixed at the top of the list so it stays in view while the results scroll. The control itself never takes typed text; a value the reader types belongs in a combobox.
search-iconspan, aria-hiddenNoThe magnifier, a Glyph inside an Icon box. searchProps.icon replaces it, and null removes it.
search-inputinput with role="combobox"NoThe search field. It carries aria-controls naming the list, aria-autocomplete="list" and aria-activedescendant, and holds DOM focus while the list is open, because a dialog popup does not support aria-activedescendant on the trigger.
listdiv with role="listbox", drawn only under searchNoThe listbox inside the dialog when search is set. It scrolls under the fixed search row and defines the option columns in place of the surface.
chosendiv, aria-hidden, drawn while several values are chosenNoEvery chosen value of a multiple select, as tags at the top of the list. The control holds one line, so it may show three tags and a count; this band shows them all, wraps, and scrolls after two rows. It is aria-hidden and holds no buttons: without search focus never reaches the list, and with search Tab leaves the control, so a remove button here would answer only the pointer. A value is removed from its option or from its tag in the control.
matchmark, the match part of the highlight family, whose root sits inside labelNoThe span of a label that the query matched, found with the same comparison the filter used. The mark comes from the highlight stylesheet and changes no metric of the surrounding text.
groupdiv with role="group"NoA run of options under a heading. It spans every column and inherits them, so its options align with the options outside it.
group-labeldivNoThe group’s heading. The group references it with aria-labelledby, as the listbox pattern requires of every option group.
itemdiv with role="option"YesOne option, not a button: an option is not separately focusable, and a button would add a tab stop. data-current marks the highlight and data-selected the chosen option.
indicatorspanYesThe check mark in the last column. Its box is reserved whether or not the mark is drawn, so rows do not shift as the highlight moves.
iconspanNoThe artwork in the first column: an Icon holding a Glyph, or any element. It is separate from the check mark, which says whether the option is chosen.
labelspanYesThe option’s text, and the only column that shrinks. It wraps to two lines and then truncates, with the whole text still in the DOM.
descriptionspanNoA second line under the label, for detail the label has no room for.
separatordiv with role="separator"NoA line between two runs of options. It is not focusable and not interactive.
emptydivNoThe text the list shows when it holds no options: the empty message, or the empty prop of SelectContent.
statusdiv with role="status"NoThe live region that announces the loading message, and the number of results while searching. It keeps the width of the list, so nothing shifts when the options arrive.
placeholderdivNoThree rows the height of an option, drawn with the skeleton stylesheet while loading is set. They are hidden from assistive technology, because the status row announces the wait.

Theming

Each token is a CSS custom property: set it in a theme, or on any element to retune every select inside it.

Select tokens

TokenDefault
--slotted-select-action-active-backgroundvar(--slotted-tone-secondary-subtle-active)
--slotted-select-action-colorvar(--slotted-text-muted, GrayText)
--slotted-select-action-hover-backgroundvar(--slotted-tone-secondary-subtle-hover)
--slotted-select-action-sizemin(calc(var(--_icon-size) + 2 * var(--slotted-space-2, 0.25rem)), var(--_inner-size))
--slotted-select-arrow-colorvar(--slotted-text-muted, GrayText)
--slotted-select-backgroundvar(--slotted-control-surface, Field)
--slotted-select-border-colorvar(--slotted-control-border-color, ButtonBorder)
--slotted-select-colorvar(--slotted-text, CanvasText)
--slotted-select-content-backdrop-filternone
--slotted-select-content-border-colorvar(--slotted-border-subtle, #e2e8f0)
--slotted-select-content-padding-blockvar(--slotted-space-2, 0.25rem)
--slotted-select-content-padding-inlinevar(--slotted-space-2, 0.25rem)
--slotted-select-content-radiusvar(--slotted-radius-lg, 8px)
--slotted-select-content-shadowvar(--slotted-shadow-md)
--slotted-select-content-textvar(--slotted-text, #0f172a)
--slotted-select-content-text-mutedvar(--slotted-text-muted, #5b6b7f)
--slotted-select-disabled-backgroundvar(--slotted-disabled-background)
--slotted-select-disabled-border-colorvar(--slotted-disabled-border)
--slotted-select-disabled-colorvar(--slotted-disabled-foreground)
--slotted-select-group-label-heightcalc( var(--_secondary-font-size) * var(--slotted-line-height-sm, 1.45) + 2 * var(--slotted-space-2, 0.25rem) )
--slotted-select-highlightvar(--slotted-tone-secondary-subtle-active)
--slotted-select-highlight-activevar(--slotted-tone-accent-surface)
--slotted-select-highlight-ringvar(--slotted-tone-accent-border)
--slotted-select-hover-border-colorvar(--slotted-tone-accent-border)
--slotted-select-icon-size-min14px
--slotted-select-invalid-border-colorvar(--slotted-tone-danger-border)
--slotted-select-invalid-edge-widthvar(--slotted-control-invalid-edge-width, 1px)
--slotted-select-invalid-focus-ring-colorvar(--slotted-focus-ring-color-invalid, Highlight)
--slotted-select-item-radiusmax(0px, calc(var(--_radius) - var(--_inset-inline)))
--slotted-select-measure24rem
--slotted-select-open-border-colorvar(--slotted-tone-accent-border)
--slotted-select-placeholder-colorvar(--slotted-text-muted, GrayText)
--slotted-select-plain-hover-backgroundvar(--slotted-tone-secondary-subtle-hover)
--slotted-select-radiusvar(--slotted-control-radius, 4px)
--slotted-select-readonly-backgroundvar(--slotted-tone-secondary-subtle-hover)
--slotted-select-search-icon-colorvar(--_muted)
--slotted-select-selected-colorvar(--slotted-tone-accent-text)
--slotted-select-separator-colorvar(--_border-color)
--slotted-select-shadowvar(--slotted-control-shadow, none)
--slotted-select-subtle-backgroundvar(--slotted-surface-sunken, Canvas)
--slotted-select-subtle-border-colorvar(--slotted-border-subtle, ButtonBorder)
--slotted-select-subtle-hover-backgroundvar(--slotted-tone-secondary-subtle-hover)
--slotted-select-surfacevar(--slotted-surface-raised, #ffffff)

Theme tokens it reads

TokenDefault
--slotted-border-strongSet per scheme by the theme
--slotted-border-subtleSet per scheme by the theme
--slotted-border-width-thin1px
--slotted-control-border-colorSet per scheme by the theme
--slotted-control-border-widthvar(--slotted-border-width-thin)
--slotted-control-focus-ring-offsetvar(--slotted-focus-ring-offset)
--slotted-control-font-familyvar(--slotted-font-family-sans)
--slotted-control-font-size-lgcomfortable 14px · compact 13px · dense 12px
--slotted-control-font-size-mdcomfortable 13px · compact 12px · dense 12px
--slotted-control-font-size-smcomfortable 12px · compact 12px · dense 12px
--slotted-control-gap-lgcomfortable 8px · compact 6px · dense 6px
--slotted-control-gap-mdcomfortable 8px · compact 6px · dense 4px
--slotted-control-gap-smcomfortable 6px · compact 4px · dense 4px
--slotted-control-height-lgcomfortable 38px · compact 32px · dense 30px
--slotted-control-height-mdcomfortable 34px · compact 28px · dense 26px
--slotted-control-height-smcomfortable 30px · compact 26px · dense 24px
--slotted-control-icon-size-lgcomfortable 18px · compact 16px · dense 14px
--slotted-control-icon-size-mdcomfortable 16px · compact 14px · dense 13px
--slotted-control-icon-size-smcomfortable 14px · compact 13px · dense 12px
--slotted-control-inner-size-lgcomfortable 28px · compact 24px · dense 22px
--slotted-control-inner-size-mdcomfortable 24px · compact 20px · dense 18px
--slotted-control-inner-size-smcomfortable 22px · compact 18px · dense 16px
--slotted-control-invalid-edge-widthvar(--slotted-border-width-thin)
--slotted-control-padding-inline-lgcomfortable 16px · compact 12px · dense 10px
--slotted-control-padding-inline-mdcomfortable 13px · compact 10px · dense 8px
--slotted-control-padding-inline-smcomfortable 10px · compact 8px · dense 6px
--slotted-control-radiusvar(--slotted-radius-sm)
--slotted-control-shadowSet per scheme by the theme
--slotted-control-shadow-focus-geometry0 1px 4px -1px
--slotted-control-surfaceSet per scheme by the theme
--slotted-control-transition-durationvar(--slotted-duration-short)
--slotted-control-transition-easingvar(--slotted-easing-standard)
--slotted-disabled-backgroundSet per scheme by the theme
--slotted-disabled-borderSet per scheme by the theme
--slotted-disabled-foregroundSet per scheme by the theme
--slotted-drawer-border-colorvar(--_border-color)
--slotted-drawer-radiusvar(--_radius)
--slotted-drawer-resizer-line-colorvar(--slotted-border-strong, ButtonBorder)
--slotted-drawer-scrimvar(--slotted-scrim, Canvas)
--slotted-drawer-scrim-backdrop-filternone
--slotted-drawer-slide-durationvar(--slotted-duration-short)
--slotted-drawer-slide-easingvar(--slotted-easing-standard)
--slotted-drawer-slide-exit-durationvar(--slotted-drawer-slide-duration, var(--slotted-duration-short))
--slotted-drawer-slide-exit-easingvar(--slotted-easing-exit)
--slotted-drawer-surfacevar(--_surface)
--slotted-duration-long320ms
--slotted-duration-medium200ms
--slotted-duration-short120ms
--slotted-easing-entercubic-bezier(0.05, 0.7, 0.1, 1)
--slotted-easing-exitcubic-bezier(0.3, 0, 0.8, 0.15)
--slotted-easing-standardcubic-bezier(0.2, 0, 0, 1)
--slotted-focus-ring-colorSet per scheme by the theme
--slotted-focus-ring-color-invalidSet per scheme by the theme
--slotted-focus-ring-offsetvar(--slotted-border-width-thick)
--slotted-focus-ring-widthvar(--slotted-border-width-thick)
--slotted-font-family-headingvar(--slotted-font-family-sans)
--slotted-font-family-sans'Geist Variable', ui-sans-serif, system-ui, sans-serif
--slotted-font-size-md0.875rem
--slotted-font-size-xs0.75rem
--slotted-font-weight-medium500
--slotted-font-weight-semibold600
--slotted-line-height-md1.5
--slotted-line-height-sm1.45
--slotted-overlay-max-block-size100vh
--slotted-radius-lg8px
--slotted-radius-none0px
--slotted-scrimSet per scheme by the theme
--slotted-shadow-lgSet per scheme by the theme
--slotted-shadow-mdSet per scheme by the theme
--slotted-space-10.125rem
--slotted-space-113rem
--slotted-space-20.25rem
--slotted-space-30.375rem
--slotted-space-50.75rem
--slotted-surface-raisedSet per scheme by the theme
--slotted-surface-sunkenSet per scheme by the theme
--slotted-target-comfortable44px
--slotted-target-min24px
--slotted-textSet per scheme by the theme
--slotted-text-mutedSet per scheme by the theme
--slotted-tone-accent-borderSet per scheme by the theme
--slotted-tone-accent-surfaceSet per scheme by the theme
--slotted-tone-accent-textSet per scheme by the theme
--slotted-tone-danger-borderSet per scheme by the theme
--slotted-tone-secondary-subtle-activeSet per scheme by the theme
--slotted-tone-secondary-subtle-hoverSet per scheme by the theme
--slotted-z-index-popover1100