Skip to content
Hazine

Announcement bars

0 of 4 shipped. Nothing has shipped here yet. The list below is what this family will hold, and how each structure differs.

Planned 4

  • Announcement bar with link and dismissal

    Baseline single message with one clearly named link, rendered as a labelled region before the skip link target; optional persisted dismissal collapses the height without a layout jump and moves focus to the next focusable element.

    Pro
  • Announcement bar with expandable details

    Two-level message: the bar is a disclosure whose panel pushes page content down instead of overlaying it, with severity shown through info, warning or destructive tokens always paired with an icon and a text label.

    Pro
  • Rotating announcement bar with pause

    Auto-advancing multi-message carousel in one line with explicit pause control; starts paused under prefers-reduced-motion and only announces changes politely when rotation is paused.

    Pro
  • Announcement bar with countdown

    Time-bound bar with a live ticking timer exposed through role timer and a static deadline in a time element, so assistive tech reads the end date instead of every tick.

    Pro