Skip to content

Quill docs

Popover

A lightweight anchored overlay surface for contextual information or controls.

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: trigger advertises expanded/controls; surface is hidden when closed.
  • BUILT: informational mode can drop `aria-haspopup` for non-interactive help.
  • Interactive: `.island(...)` wires open/close and dismiss behavior.

Code#

Construct the component with its builder:

Popover::new("help", "Explain", body_node)
    .open(true)
    .effect(Effect::Elevated)
    .render()