

Every state


default


expanded


hover


focus
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "collapsible" | unique on the page; the heading id hangs off it. |
| title | string | "We ask for your date of birth" | Title. |
| message | string | "It's only used to check you're old enough to order and is never shown to anyone." | the short text that is always shown. |
| toggleLabel | string | "Why we ask for this" | the row that folds the details open, e.g. "Why we ask for this". |
| details | string[] | [ | the folded-away details, one paragraph each. |
| open | boolean | false | starts folded open. |
| className | string | – | Class name. |
More notices
All 10notice-02 is in UI ProGet UI Pro, €199


