Accordion
moleculesA stack of Disclosures from an items array: single- or multi-open, a plain borderless variant, a compact size and a summary snippet that receives the item and its open state.
Billing FAQ
items with title and content snippets; multiple={false} closes the others when one opens.
Usage is metered per token and invoiced on the first of each month. Caps reset on the schedule shown next to each provider.
Drag the cap bar on the provider row. Sessions pause when the cap is hit and resume at the next reset.
Unused prepaid credit is refunded in full within 14 days of purchase. Metered usage is not refundable.
Plain, compact and chevron side
variant="plain" drops the outer border; size="compact" tightens to --fs-xs; chevron="start" | "end" | false.
default
Rows of the group render here.
Rows of the group render here.
plain · compact
Rows of the group render here.
Rows of the group render here.
chevron start
Rows of the group render here.
Rows of the group render here.
no chevron
Rows of the group render here.
Rows of the group render here.
States and rich summaries
a disabled item, a summary snippet receiving { open, item }, per-item onchange and long content that scrolls the page, not the panel.
- 01 Checkout
- 02 Install
- 03 Lint
- 04 Typecheck
- 05 Unit tests
- 06 Build
- 07 Publish
- 08 Smoke test
Nothing to show yet.
Nothing to show yet.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items required | AccordionItem[] | — | |
multiple | boolean | true | |
chevron | DisclosureChevron | 'end' | |
variant | AccordionVariant | 'default' | `plain` drops the outer border and radius and keeps the item dividers, for a stack that only separates rows. |
size | DisclosureSize | 'default' | Header/panel density of every item; forwarded to `Disclosure`. |
onchange | (id: string, open: boolean) => void | — | |
sound | boolean | true | Play UI sounds when enabled globally; false silences every item. |
class | string | '' | |
style | string | '' |