Skip to content
Collapsible notice, light
Light
Collapsible notice, dark
Dark

Every state

  • Collapsible notice, default, light
    Collapsible notice, default, dark

    default

  • Collapsible notice, expanded, light
    Collapsible notice, expanded, dark

    expanded

  • Collapsible notice, hover, light
    Collapsible notice, hover, dark

    hover

  • Collapsible notice, focus, light
    Collapsible notice, focus, dark

    focus

Props

PropTypeDefaultWhat it does
idstring"collapsible"unique on the page; the heading id hangs off it.
titlestring"We ask for your date of birth"Title.
messagestring"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.
toggleLabelstring"Why we ask for this"the row that folds the details open, e.g. "Why we ask for this".
detailsstring[][the folded-away details, one paragraph each.
openbooleanfalsestarts folded open.
classNamestring–Class name.

More notices

All 10
notice-02 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans