Skip to content

GhostCombobox reference ​

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

Themed GhostCombobox root, input, trigger, and list surfaces using --ghost-* tokens.

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

All component references

Props ​

None declared.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultCombobox parts composed by the consumer.

Slot props: default ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullCombobox input element after mount.
focus(options?: FocusOptions) => voidFocuses the combobox input.
blur() => voidBlurs the combobox input.

Parts and data attributes ​

AttributeValueDescription
data-partinputThemed text field with .ghost-combobox-input.
data-partcontentElevated list surface with .ghost-combobox-content.
data-parttriggerOptional toggle button with .ghost-combobox-trigger.
data-stateopenInput or trigger data-state when the listbox is open.

CSS variables ​

NameDescription
--ghost-surface-bgInput and trigger background.
--ghost-elevation-3-bgList surface background.

Accessibility ​

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

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 ​

Example source

Assignee search

Issue assignee picker with deterministic async people search: loading, error, empty, results, and selected states, with stale responses ignored.

PAY-412 · Payments

Checkout rejects saved cards

Current assigneeUnassigned

combobox/review-request-form ​

Example source

Review request form

Themed native form: a required single-value reviewer and a multiple labels combobox with client-side filtering, empty states, Reset, and the submitted form data (one entry per selected label).

Request a review

Pull request #1284 · Retry failed card payments

  • Bug

combobox/themed ​

Example source

Themed

Input and list surface tokens from @ghostvue/themes.