Skip to content
Slotted

Combobox

A text input that filters a list of options as the reader types, and commits one of them as the value.

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 { Combobox, ComboboxContent, ComboboxGroup, ComboboxInput,  ComboboxItem, ComboboxSeparator } from '@slotted/react';

Descriptions

A description is the line under the label, for the detail that tells two similar options apart. The filter compares the label only, so typing a word from the description finds nothing.

Icons

The first column holds an icon in front of the label. In React icon takes any element; in Angular icon names a glyph, and an element of your own goes in through slComboboxItemIcon.

Disabled options

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

Groups

Groups give each run of options a name that assistive technology reads with them. A group whose options were all filtered away disappears with its heading.

Filtering

The default filter is a locale-sensitive “contains” that ignores accents and case, so sao finds São Paulo. The mark covers the span the same comparison matched. locale sets the language of the comparison when it differs from the page.

Accents and case are ignored when matching.

Custom filter

filter replaces the comparison with a function of the label and the query. Here SKUs match from their first character only. filter={null} turns filtering off for a list a server has already filtered.

Codes match from the first character, so “10” finds nothing.

Inline completion

autocomplete="both" writes the rest of the first match into the input as a selected range. The next character replaces it, Backspace removes it, and Tab or ArrowRight accepts it.

Opening

openOn decides when the popup opens without the trigger button. input, the default, opens on typing or a press on the input; focus also opens when Tab reaches the input; manual opens only from the trigger and the arrow keys.

Typing or a press on the field opens it.

Every focus opens it, Tab included.

Only the button and the arrow keys open it.

Highlighting the first match

With autoHighlight the first match is highlighted when the popup opens and after every character typed, so Enter takes it without an arrow key. loop makes ArrowDown wrap from the last option to the first. Both suit data entry where the reader types a few characters and moves on.

The first match is highlighted, so Enter takes it.

Sizes

Three steps, sm, md and lg, that match the height of the text field and select of the same size. An unset size follows the field around the combobox.

Variants

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

Width

fullWidth={false} lets the control keep its own width instead of filling the field. The popup is never narrower than the control and grows to its longest option, up to a maximum measure; width="anchor" pins it to the control’s width.

Disabled and read-only

A disabled combobox takes no input and is skipped by Tab. A read-only combobox keeps the text selectable and copyable and never opens. Both follow the field around them.

Locked while the transfer is in transit.

Set by the contract. The text can still be selected and copied.

Clearing

The clear button appears once the input holds text and resets both the text and the value in one press. Focus returns to the input. Set clearable={false} for a value that must always be present.

Optional. Clearing it routes orders by distance.

Every account has terms, so there is nothing to clear.

In a field

Inside a field the label names the input, and the description and the error are read with it. required and invalid on the field reach the input as the native required attribute and aria-invalid.

Receives the renewal reminders for this account.

Error:4900 is closed. Choose an open cost center.

In a form

The form receives the value, never the typed text. In React name renders a hidden input that FormData reads. In Angular the combobox is a form control: formControlName, formControl and ngModel bind the value, and Validators.required applies to it.

Controlled text and value

The text in the input and the chosen value are two separate states. Typing changes only the text; choosing an option changes both. A controlled combobox owns both, so code that sets the value sets the text as well, as the button here does.

Text “” · Value none

Custom values

With allowsCustomValue the typed text becomes the value when the reader presses Enter or leaves the input. Without it, text that matches no option goes back to the label of the last chosen option.

Value: none

Creating options

When nothing matches, the last option offers to create what was typed. It is an option like the others: ArrowDown reaches it and Enter takes it. Taking it reports the query and selects nothing, so your handler adds the option and selects it. The prop is onCreate in React; in Angular it is creatable with the (create) output.

6 categories

Searching a server

For results that come from a server, turn the filter off, control the text, and set loading while a request is in flight. The trigger shows a spinner, the popup shows three placeholder rows, and the status row announces the wait. Debounce the request in your own code; the combobox reports every keystroke.

Search errors

A failed request is your state to show. Here the field turns invalid, the error says what happened, the typed text stays, and a retry button repeats the last search. The popup’s empty message changes to match. The simulated service fails its first request only.

Loading more results

onLoadMore (loadMore in Angular) fires when the end of the list scrolls into view, and you append the next page. total and position give each option its place in the full result set through aria-setsize and aria-posinset.

Thirty at a time; scrolling to the end fetches the next page.

Long lists

The combobox renders every option it is given and does not virtualize. PageDown and PageUp move the highlight ten options at a time. For collections larger than a few hundred options, load pages as shown above.

Page Down and Page Up move ten bins at a time.

Long labels

A label wraps to two lines and then truncates, with the whole text still in the DOM for the filter and for assistive technology. An unbroken identifier breaks inside the column instead of widening the popup.

Messages

messages replaces any of the six phrases the combobox writes: clear, trigger, create, empty, loading and count. count and create take ICU placeholders. Phrases you leave out come from the active locale.

Application defaults

Set an axis once for a whole subtree: ComboboxDefaultsProvider in React, provideComboboxDefaults() in Angular. A prop on a single combobox still wins.

Assignee picker

A person picker with an avatar in the icon column, the role in the description, and an unavailable person kept in the list but disabled. autoHighlight lets the reader type a few letters of a name and press Enter.

Country or region picker

Countries grouped by region, with the currency and dialing code as the description. The locale-sensitive filter finds Côte d’Ivoire from cote and Türkiye from turkiye, and name submits the country code.

Sets the currency and the phone prefix on the invoice.

Filter facets

A row of compact comboboxes above a list, one per facet. Each control keeps its own width, the popups size to their options, and one button clears every facet by resetting both the value and the text.

141 of 141 orders

A search input alone in a header opens on focus, so the reader sees results before typing. Groups separate customers from orders, and the icon tells the two apart at a glance.

Accessibility

KeyEffectFocus
ArrowDownclosed, opens and highlights the first option; open, moves the highlight to the next option, wrapping only when loop is truestays on the input, and the caret does not move
ArrowUpclosed, opens and highlights the last option, which is the pattern's optional Up Arrow; open, moves the highlight to the previous optionthe input, caret unmoved
Alt+ArrowDownopens the popup without moving the highlightthe input
Alt+ArrowUpcloses the popupthe input
Entercommits the highlighted option, closes, and puts the caret at the end of the accepted value; with no highlight and allowsCustomValue, commits the typed text; with no highlight and no custom value, closes and reverts the textthe input
Escapeopen, closes and keeps the typed text; closed, reverts the text to the committed option's label, and clears the selection when the text was already that label. Both steps are optional in the pattern and both are named in it.the input
Homethe browser's caret movement, never intercepted, which is the pattern's editable branchthe input, caret at the first character
Endthe browser's caret movement, never interceptedthe input, caret after the last character
PageDownmoves the highlight ten options on, or to the last, and never wraps. Optional in the pattern for a grid popup and absent for a listbox one; adopted because a filtered list of two hundred is the case this family exists for.the input
PageUpmoves the highlight ten options back, or to the first, and never wrapsthe input
ArrowLeftthe browser's caret movement, never interceptedthe input
ArrowRightthe browser's caret movement, never intercepted. With autocomplete="both" and a completion string showing, it accepts the completion by collapsing the selection to its end, which is what the caret key already does.the input
Backspacethe browser's text editing, never intercepted. It also withdraws the completion string, because a reader deleting a character is not asking for one back.the input
Deletethe browser's text editing, never intercepted, and it withdraws the completion string for the same reasonthe input
Printable charactertyped into the input, which filters the collection. Never intercepted — the pattern's IMPORTANT note asks that script not capture the keys the browser uses for text editing.the input
Tabcloses without committing a highlight, and accepts a showing completion string. A highlight the reader arrowed past is not a choice they made, which is where this family differs from select.the next element in the page
  • The input has role="combobox" with aria-autocomplete, aria-expanded and aria-controls. The popup has role="listbox", and each row has role="option". The trigger button is out of the tab sequence, as the ARIA combobox pattern requires.
  • Focus stays on the input, so Home, End, ArrowLeft, ArrowRight, Backspace and Delete keep their text-editing behavior. The highlight moves through aria-activedescendant, and the caret does not move with it.
  • Escape works in two steps, both named by the pattern. With the popup open, it closes the popup and keeps the text. With the popup closed, it restores the label of the chosen option, and a second press clears the selection.
  • The status row is a polite live region. It announces how many options matched, and "Loading…" while a request is in flight.
  • Tab commits nothing: an option the reader arrowed past is not a choice, which is where the combobox differs from the select. Tab does accept an inline completion that is still showing.

API

Combobox

Props

inputValuestring
The text in the input. Passing it makes the text controlled.
defaultInputValuestring
The initial text of an uncontrolled input, read once.
valuestring | null
The key of the chosen option, which is separate from the typed text. Passing it makes the value controlled.
defaultValuestring | null
The initial value of an uncontrolled combobox. It sets the key, not the text.
openboolean
Whether the popup is open. Passing it makes the open state controlled.
defaultOpenbooleanDefault false
Whether an uncontrolled popup starts open.
highlightedValuestring | null
The key of the highlighted option, which is separate from the chosen one.
defaultHighlightedValuestring | null
The initial highlight of an uncontrolled combobox.
filter((label, query) => boolean) | null
The comparison between a label and the query. Unset uses a locale-sensitive contains; null turns filtering off for a list a server has already filtered.
localestring
The BCP 47 language of the default filter. The active locale when unset.
itemsComboboxItems
Labels for values, so a closed combobox can show the label of an option it has not rendered.
namestring
The name the value is submitted under. Renders a hidden input that carries the chosen key.
formstring
The id of the form the value is submitted with, when it is not the enclosing one.
totalnumber
The size of the whole collection, written to aria-setsize on each option.
autocomplete'none' | 'list' | 'both'Default list
What typing does: none keeps every option, list filters the options, and both also completes the first match inline. Written to aria-autocomplete.
openOn'input' | 'focus' | 'manual'Default input
When the popup opens without the trigger: on typing or a press on the input (input), on every focus and press (focus), or only from the trigger and the arrow keys (manual).
allowsCustomValuebooleanDefault false
Whether text that matches no option becomes the value on Enter or blur.
autoHighlightbooleanDefault false
Whether the first match is highlighted when the popup opens and after each query typed, so Enter takes it. A chosen option that is showing takes precedence.
highlightMatchbooleanDefault true
Whether the part of each label the query matched is marked.
size'sm' | 'md' | 'lg'Default md
The control size. Unset follows the enclosing field.
variant'outline' | 'subtle' | 'plain'Default outline
How much frame the control draws.
side'bottom' | 'top' | 'inline-start' | 'inline-end' | 'left' | 'right'Default bottom
The edge of the control the popup opens from.
align'start' | 'center' | 'end'Default start
The alignment of the popup along that edge.
width'anchor' | 'content'Default content
The popup width: content keeps it 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 popup exists in the DOM: only while open, from the first open, or from the start.
strategy'absolute' | 'fixed'Default absolute
The CSS positioning the popup uses.
clearablebooleanDefault true
Whether a clear button appears once the input holds text.
loopbooleanDefault false
Whether ArrowDown and ArrowUp wrap at the ends of the list.
closeOnSelectbooleanDefault true
Whether choosing an option closes the popup.
closeOnEscapebooleanDefault true
Whether Escape closes the popup.
closeOnOutsidePressbooleanDefault true
Whether a press outside the combobox closes the popup.
flipbooleanDefault true
Whether the popup moves to the opposite side when it does not fit.
shiftbooleanDefault true
Whether the popup slides along its side to stay in view.
hideWhenDetachedbooleanDefault true
Whether the popup hides once the control scrolls out of view.
portalbooleanDefault true
Whether the popup renders at the end of the document instead of inside the combobox.
fullWidthbooleanDefault true
Whether the control fills its container or keeps its own width.
disabledbooleanDefault false
Turns off the input, the trigger and the popup. Unset follows the enclosing field.
readOnlybooleanDefault false
Keeps the text selectable and copyable and never opens the popup. Unset follows the enclosing field.
requiredbooleanDefault false
Sets the native required attribute on the input. Unset follows the enclosing field.
invalidbooleanDefault false
Draws the border and the focus ring in the invalid tone and sets aria-invalid. Unset follows the enclosing field.
loadingbooleanDefault false
Shows the spinner, the placeholder rows and the loading message, and sets aria-busy on the listbox.
sideOffsetnumberDefault 4
The gap between the control and the popup, in pixels.
alignOffsetnumberDefault 0
How far the popup shifts along its side, in pixels.
collisionPaddingnumberDefault 8
The minimum distance between the popup and the edge of the viewport, in pixels.
messagesPartial<ComboboxMessages>
Phrases that replace the active locale’s, key by key: clear, trigger, create ({query}), empty, loading and count ({count}).
emptyReactNode
On ComboboxContentReplaces the empty message for this popup.
statusReactNode
On ComboboxContentReplaces the message in the status row for this popup.
valuestring
On ComboboxItemThe option key: what the form submits and what onValueChange receives.
disabledbooleanDefault false
On ComboboxItemKeeps the option in the list, announces it as unavailable, and skips it with every movement key.
textValuestring
On ComboboxItemThe text the filter compares and the mark splits, when the children are not a string.
descriptionReactNode
On ComboboxItemThe second line under the label.
iconReactNode
On ComboboxItemThe element in the first column.
positionnumber
On ComboboxItemThe position of the option in the whole collection, written to aria-posinset.
labelReactNode
On ComboboxGroupThe name of the group, which the group references through aria-labelledby.

Events

NamePayloadWhen
onInputValueChange(value: string, request: ChangeRequest)Before the text changes. The reason is keyboard while the reader types, select when an option is chosen, and clear, blur or programmatic otherwise.
onValueChange(value: string | null, request: ChangeRequest)Before the chosen value changes. Typing calls only onInputValueChange; choosing an option calls both, each with the reason select.
onOpenChange(open: boolean, request: ChangeRequest)Before the popup opens or closes. The reason tells a selection from a dismissal: select, escape, outsidePress, dismiss, blur, pointer, keyboard or programmatic.
onHighlightedValueChange(value: string | null, request: ChangeRequest)Before the highlight moves, by key or by pointer, and when the filter removes the highlighted option.
onCreate(query: string, details: { reason, source? })When the reader takes the create option, which appears while onCreate is set, the query is not empty and nothing matched. The popup closes and nothing is selected: add the option to your collection and select it.
onInputReset(rejected: string, details: { reason: 'blur', source? })When the input loses focus holding text that matches no option while allowsCustomValue is off. The text returns to the label of the chosen option, or empties, and the handler receives the rejected text.
onLoadMore()When the end of the rendered list scrolls into view. Fetch the next page; the combobox keeps no cursor of its own.

Composition

ComboboxDefaultsProvidercomponent
On ApplicationSets any axis once for a subtree. The phrases come from the active locale, set by SlottedProvider.
render(props) => ReactNode
On ComboboxInput, ComboboxContentReplaces the frame around the input, or the popup layer. The input and the listbox carry the role and the ARIA wiring, so they cannot be replaced.
refRef<ComboboxHandle>
focus(), open(), close() and scrollToKey(value), for actions a prop cannot express.
refRef<HTMLInputElement>
On ComboboxInputThe input element, for code that reads the caret or the selection.
native propsComponentPropsWithRef<…>
On every partEach part accepts the props of its element. Your onKeyDown, placeholder, maxLength or aria-label reaches that element, and the combobox handler runs alongside yours instead of replacing it.

Parts

PartElementRequiredPurpose
rootdiv, rendered by ComboboxInputYesThe visible frame, carrying data-ui="combobox". It draws the border, the shadow, the focus ring and every state, from the same tokens as the text field and the select.
inputinput with role="combobox"YesA native text input, so the caret, the selection, IME, autofill and every text-editing key behave as in any input. It keeps focus for the whole interaction and carries aria-autocomplete, aria-expanded and aria-activedescendant.
triggerbuttonYesOpens and closes the popup with the pointer. It has tabindex="-1", as the ARIA combobox pattern requires, so Tab reaches the input once and skips the button.
arrowspanYesThe chevron inside the trigger, a Glyph inside an Icon, turned over while the popup is open.
busyspanNoThe spinner that replaces the chevron while loading is set, because the chevron promises a list that has not arrived. It carries data-ui="spinner" beside this part, so the spinner stylesheet draws the ring and the combobox sets only its place and size.
clearbuttonNoResets both the text and the chosen value. Present only while clearable is set and the input holds text.
positionerdiv, rendered by ComboboxContentYesThe popup layer, portalled to the end of the document. It carries data-ui="combobox" again, because a stylesheet scoped to the root cannot reach a subtree outside it.
contentdiv with role="listbox"YesThe popup surface, holding the options that pass the filter. Its height is bounded by the space the positioner reports, and it scrolls inside that bound.
groupdiv with role="group"NoA named set of options. A group whose options were all filtered away renders nothing, so no heading appears without options under it.
group-labeldivNoThe name of a group, which the group references through aria-labelledby.
itemdiv with role="option"YesOne option. It compares its own label against the query and renders nothing when it does not match.
indicatorspanYesThe check in the last column, shown on the chosen option.
iconspanNoThe first column: an Icon holding a Glyph, or any element of your own.
labelspanYesThe option text. It wraps to two lines and then truncates, with the whole text still in the DOM.
matchmarkNoThe part of the label the query matched, found with the same collator the filter used. It shows the reader why the option is in the results.
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.
emptydivNoThe message the popup shows when nothing matched, instead of an empty box.
statusdiv with role="status" and aria-live="polite"YesThe loading message and the live region in one row, so a screen reader user hears how many options matched.
placeholderdivNoThree rows the height of an option, drawn with the skeleton stylesheet while loading is set, so the popup already has the shape of the list. 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 combobox inside it.

Combobox tokens

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

Theme tokens it reads

TokenDefault
--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-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-sans'Geist Variable', ui-sans-serif, system-ui, sans-serif
--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-shadow-mdSet per scheme by the theme
--slotted-space-10.125rem
--slotted-space-20.25rem
--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