Accordions
Accordion and AccordionGroup components for collapsible content sections.
Accordions hide secondary content behind an animated, expandable header. Use them for FAQs, advanced options, or any detail that most readers can skip.
Accordion
Wrap collapsible content in <Accordion> with a title:
Go to Settings → API Keys, click the key you want to rotate, and select Rotate. The old key keeps working for 24 hours.
Open by default
Add defaultOpen to render the accordion expanded:
Icons
Accordions accept the same icon names as Cards:
Tune build concurrency, cache TTLs, and webhook retries.
AccordionGroup
Group related accordions into a single fused stack with <AccordionGroup>:
Custom domains are available on Starter and above.
No — certificates are provisioned automatically.
Most sites build in under a minute.
Props
| Prop | Type | Description |
|---|---|---|
title | string | Header text shown in the toggle button. Defaults to "Details" when omitted |
icon | string | Optional icon name or emoji shown before the title |
defaultOpen | boolean | Render expanded on page load |
variant | "list" | Compact row with a leading caret. Also accepted on <AccordionGroup>, where it applies to every item |
List variant
For short, parallel entries such as a list of regions, variant="list" draws
compact rows with a leading caret instead of bordered panels:
Data is stored in us-east-1.
Data is stored in eu-west-1.
Prefer <Accordion> over <Expandable> for reader-facing FAQ content — accordions
have a full-width header, icon support, and grouped styling.