Skip to content
Dismissible top bar, light
Light
Dismissible top bar, dark
Dark

Every state

  • Dismissible top bar, default, light
    Dismissible top bar, default, dark

    default

  • Dismissible top bar, long, light
    Dismissible top bar, long, dark

    long

  • Dismissible top bar, hover, light
    Dismissible top bar, hover, dark

    hover

  • Dismissible top bar, focus, light
    Dismissible top bar, focus, dark

    focus

Props

PropTypeDefaultWhat it does
storageKeystring"notice-top-bar:winter-hours-2026"key under which the dismissal is remembered; change it to show a new message to everyone again.
messagestring"Winter hours from 1 December: the helpdesk is open 9:00–17:00 on weekdays."Message.
linkHrefstring"#hours"Link href.
linkLabelstring"All opening hours"Link label.
dismissLabelstring"Dismiss notice"Dismiss label.
defaultDismissedboolean–start dismissed (for previews); the stored choice wins in the browser.
onDismiss() => void–called after the visitor closes the bar.
classNamestring–Class name.

More notices

All 10
notice-08 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