Components › Display
Disclosure
A single expandable section for shipping details, notes or other supporting information.
Installation
npx plankui@latest add disclosureUsage
import { Disclosure } from "@/components/ui/disclosure";
<Disclosure summary="Shipping details">Orders ship within two business days.</Disclosure>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| summary | ReactNode | required | Visible label for the toggle. |
| open | boolean | false | Shows the panel expanded when the attribute is present. |
| children | ReactNode | Content inside the panel. |