Collapsible
Shows and hides one area.
- Add the registry.
- Import the theme.
- Add a component.
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 collapsible# pnpm dlx @aedis/cli@0.1.0 add collapsible · yarn dlx @aedis/cli@0.1.0 add collapsible · bunx @aedis/cli@0.1.0 add collapsibleProps
| Prop | Type | Default | Description |
|---|---|---|---|
| CollapsibleContent hiddenUntilFound | boolean | true | Findable with in-page search while collapsed. |
| ...props | @base-ui/react Collapsible props | — | Every prop of the underlying Base UI part, including render for composition. |
Security
- Content is rendered as data.