Skip to content
Preview
Describe a change, @ to add files

PickerTrigger

labelrequired
string
forms
readonly string[]
last
boolean
tooltip
false
onShortChange
(short: boolean) => void
icon
IconName | ReactElement
sub
string
tail
ReactElement
emphasis
boolean
variant
"ghost" | "secondary"
tone
"neutral" | "muted"
weight
"regular" | "bold"
size
"sm" | "md"
width
number
chevron
IconName | false
flush
boolean
ellipsisLabel
boolean
rootStyle
PickerTriggerStyle
render
RenderProp<{ disabled: boolean }>
Replace the rendered element, e.g. render={<a href="/settings" />}, or a function of props and state.
disabled
boolean
Native disabled: no pointer events, no tooltip, skipped by Tab.
focusableWhenDisabled
boolean
Keep a disabled control focusable and hoverable (aria-disabled), so a tooltip can say why.
nativeButton
boolean
Button semantics, inferred from what renders: a <button> is native, an <a> stays a link, anything else gets role="button" and key handling. false forces button semantics on whatever renders (a link acting as a button).

Rest props go to <button> props.

provider
"openai" | "xiaomi" | "zai" | "opencode" | "grok" | "deepseek" | "google" | "anthropic" | "claude" | "mistral" | "commandcode" | "cursor" | "gmail" | "github"
labelrequired
string
forms
readonly string[]
last
boolean
tooltip
false
onShortChange
(short: boolean) => void
sub
string
tail
ReactElement
emphasis
boolean
variant
"ghost" | "secondary"
tone
"neutral" | "muted"
weight
"regular" | "bold"
size
"sm" | "md"
width
number
chevron
IconName | false
flush
boolean
ellipsisLabel
boolean
rootStyle
PickerTriggerStyle
render
RenderProp<{ disabled: boolean }>
Replace the rendered element, e.g. render={<a href="/settings" />}, or a function of props and state.
disabled
boolean
Native disabled: no pointer events, no tooltip, skipped by Tab.
focusableWhenDisabled
boolean
Keep a disabled control focusable and hoverable (aria-disabled), so a tooltip can say why.
nativeButton
boolean
Button semantics, inferred from what renders: a <button> is native, an <a> stays a link, anything else gets role="button" and key handling. false forces button semantics on whatever renders (a link acting as a button).

Rest props go to <button> props.

State machine

PreviewShows the value it chose.