Skip to content

Quill docs

Combobox

A select-like combobox/listbox with inherited ARIA wiring and an island-ready contract.

Preview#

This preview is server-rendered from the real qquill-design builder; the page ships the component CSS that builder returns, so the docs cannot drift from the crate API.

  • Security
  • Performance
  • Docs

Design-system contract#

  • BUILT: input/trigger carries role=combobox, expanded state, controls, and active descendant.
  • BUILT: options are role=option rows with selected/active state markers.
  • Interactive: use `.island(instance_id)` when the app ships the combobox behavior.

Code#

Construct the component with its builder:

Combobox::new("docs-combo", "Security", vec![
    ComboOption::new("Security"),
    ComboOption::new("Performance"),
])
.open(true)
.selected(Some(0))
.render()