Disclosure & Accordion
A Disclosure is one expand/collapse section (header + panel); an Accordion coordinates a group of them (single-open or multi-open). Same
primitive-plus-group shape as Radio / FieldGroup. The panel animates via grid-template-rows and stays mounted when closed, so its state is preserved.
Standalone
A single section with bind:open.
Every plan includes unlimited projects, email support, and daily backups. Upgrade any time — changes are prorated automatically.
open: true
Accordion — single-open
Opening one panel closes the others. Bind value to the open key.
Orders ship within 2 business days. Free over $50.
open: shipping
Accordion — multiple
With multiple, panels toggle independently and value is a string[].
A quick summary of the feature set.
open: ["overview"]
Panel state is preserved
Type into the field, collapse, then reopen — your text is still there. The panel stays mounted (grid-rows animation), unlike a mount/unmount approach that would reset it.
notes: (empty)
Sizes & variants
size scales the header; variant tints it. A leading icon snippet is optional.