Skip to content

GhostSelectTrigger reference ​

Package: @ghostvue/themes. Status: experimental (stability policy).

Themed GhostSelectTrigger with the ghost-select-trigger surface. Takes its content width unless a GhostField or grid cell stretches it, or block is set.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

NameTypeDefaultRequiredDescription
blockboolean"false"NoFill the container's inline size via data-block. Without it the trigger takes its content width, except in a flex column such as GhostField, which stretches it.
size'sm' | 'md' | 'lg'"md"NoTrigger height, minimum width, label size, and padding from `control.size.<size>`, matching a GhostButton or GhostInput of the same size. The open listbox does not change. The wrapper consumes size and does not forward it to a component `as` host. The default omits data-size so CSS can treat a missing hook as md.

Emits ​

None declared.

Models ​

None declared.

Slots ​

None declared.

Exposed members ​

NameTypeDescription
blur() => voidExposed method `blur`.
elementHTMLElement | nullExposed property `element`.
focus(options?: FocusOptions) => voidExposed method `focus`.

Parts and data attributes ​

AttributeValueDescription
data-parttriggerghost-select-trigger surface aligned to control tokens.
data-stateblockdata-block fills the container's inline size.
data-sizesm, lgControl size on the trigger. Absent for the default md size.

CSS variables ​

None declared.

Accessibility ​

Role: combobox. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/.

Required ARIA attributes: none.

Keyboard ​

None declared.

Verification ​

Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

None declared.