Skip to content

ComboboxAnchor ​

Source: client/lib/theme/vueda-tailwind/controls/index.js

The positioning anchor for the ComboboxList.root popover. Pins to a 200px width by default so a Combobox that anchors to whitespace (rather than the trigger element) still has a sensible reference rectangle; consumers that wrap the trigger in the anchor inherit the trigger's width instead and can ignore this default. Layout-only slot; no chrome of its own.

Vue component: ComboboxAnchor

SlotDefault classesDescription
rootw-[200px]The positioning anchor for the ComboboxList.root popover. Pins to a 200px width by default so a Combobox that anchors to whitespace (rather than the trigger element) still has a sensible reference rectangle; consumers that wrap the trigger in the anchor inherit the trigger's width instead and can ignore this default. Layout-only slot; no chrome of its own.

root ​

The positioning anchor for the ComboboxList.root popover. Pins to a 200px width by default so a Combobox that anchors to whitespace (rather than the trigger element) still has a sensible reference rectangle; consumers that wrap the trigger in the anchor inherit the trigger's width instead and can ignore this default. Layout-only slot; no chrome of its own.

Default classes:

w-[200px]

Source: client/lib/theme/vueda-tailwind/controls/ComboboxAnchor.theme.js:17