

Every state


default


long


hover


focus
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| storageKey | string | "notice-top-bar:winter-hours-2026" | key under which the dismissal is remembered; change it to show a new message to everyone again. |
| message | string | "Winter hours from 1 December: the helpdesk is open 9:00–17:00 on weekdays." | Message. |
| linkHref | string | "#hours" | Link href. |
| linkLabel | string | "All opening hours" | Link label. |
| dismissLabel | string | "Dismiss notice" | Dismiss label. |
| defaultDismissed | boolean | – | start dismissed (for previews); the stored choice wins in the browser. |
| onDismiss | () => void | – | called after the visitor closes the bar. |
| className | string | – | Class name. |
More notices
All 10notice-08 is in UI ProGet UI Pro, €199


