Announcement
The store's announcement bar from Site settings.

What it is for
The announcement bar you set up in Site settings. Place it at the top of the header section.
Where you can use it
On any page, template, saved section, header or footer.
In the editor, open the Add tab of the left panel and drag it into a column. Its type is basic.announcement, version 1.
Options
Content tab
| Option | Key | Allowed values | Default |
|---|---|---|---|
| Visitors can dismiss it | dismissible | On or off. | On |
Style tab
| Option | Key | Allowed values | Default |
|---|---|---|---|
| Alignment | align | Left, center, right or justify. | center |
| Colour | color | A theme colour (token:name) or a hex colour (#rrggbb or #rrggbbaa). | Empty |
| Background | background | A theme colour (token:name) or a hex colour (#rrggbb or #rrggbbaa). | Empty |
Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.
Responsive behaviour
Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.
Each message can be limited to desktop, tablet or phone in Site settings; the others are hidden by CSS on the devices left out.
SEO and accessibility
Messages for everyone are written on the server inside a region labelled "Announcement"; a message with a link holds an a tag. Messages meant only for signed-in or signed-out shoppers appear after the page loads, in space already reserved for the bar. A dismissal is remembered in the shopper's browser.
With an AI agent
An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.
{
"type": "basic.announcement",
"v": 1,
"props": {}
} @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.