UI Library

Prop Type Default Value Notes
align'left' | 'right''right'
Panel edge anchored to the trigger.
ariaLabelstring—
Accessible name for the trigger.
autoPlacebooleantrue
Flips the panel when crowded.
closeLabelstring?—
Accessible name for the phone sheet close button; required with phoneSheetTitle.
iconSnippet—
Trigger icon; the dialog edits its class, and the eye resets the class. The trigger Button sizes the glyph, so the class never carries a size.
idstring?—
Native id the panel id derives from.
itemSnippet<[item, state]>—
Row renderer; the dialog edits its prefix text, and the eye resets the prefix.
itemRole'menuitem' | 'menuitemradio''menuitem'
ARIA role each row renders with.
items{ id: string; label: string; disabled?: boolean }[]—
Row entries; the eye resets to the seed entries.
panelClassstring?''
Extra classes for the floating panel.
phoneSheetTitlestring?—
Opts into the phone bottom-sheet presentation; pair with closeLabel.
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | number'md'
Scale of the trigger button; the trigger glyph follows it, and the panel chrome keeps its own metrics.
triggerClassstring?''
Extra classes for the trigger button; never padding — the trigger takes its box from the Button’s icon-only metrics.
triggerTooltip{ text: string; align?: "center" | "left" | "right" }—
Wraps the trigger with the positioned Tooltip; the dialog edits text and align, and the eye applies the object.
itemChecked(item: T) => boolean——Checked row for menuitemradio.
itemClass(item, state) => string——Row classes by state.
itemDisabled(item: T) => boolean() => false—Disables a row.
itemKey(item: T) => string——Stable key per row.
itemLabel(item: T) => string——Searchable text for type-ahead.
onSelect(index: number) => void——Called with the picked row index.