Skip to content

Quill docs

Command palette

A modal command search surface with combobox/listbox semantics and filtered result rows.

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.

Design-system contract#

  • BUILT: dialog + combobox + listbox roles are inherited from qquill-ui.
  • BUILT: visible command rows are rendered from headless state; text is escaped.
  • Interactive: `.island(instance_id)` hydrates filtering/highlight behavior in place.

Code#

Construct the component with its builder:

CommandPalette::new("cmdk", vec![
    Command::new("Run audit"),
    Command::new("View roadmap"),
])
.open(true)
.query("", vec![0, 1])
.render()