Accordion
FAQ and docs sections that expand.
A person on the team. Anything that leaves the company waits in an Approval Card.
No. The session lives in an HttpOnly cookie that no script can read.
Installation
Once per app, set up Aedis UI. The CLI verifies the signed release before writing anything and pins every dependency:
npx @aedis/cli@0.1.0 initImport the theme once in your global CSS, after Tailwind:
app/globals.css
@import "tailwindcss";@import "./styles/aedis-theme.css";Then add the component:
npx @aedis/cli@0.1.0 add accordion# pnpm dlx @aedis/cli@0.1.0 add accordion · yarn dlx @aedis/cli@0.1.0 add accordion · bunx @aedis/cli@0.1.0 add accordionProps
| Prop | Type | Default | Description |
|---|---|---|---|
| multiple | boolean | false | Allow several items open at once. |
| hiddenUntilFound | boolean | true | Collapsed content stays in the DOM and opens when the browser's in-page search finds it. |
| ...props | @base-ui/react Accordion props | — | Every prop of the underlying Base UI part, including render for composition. |
Security
- Content is rendered as data; collapsed content stays in the DOM, so nothing is fetched or injected on open.