Notice
A note set apart from the main text: a note, information, success, a warning or something important.
Use this element#
Use Notice to separate a note, information, success message, warning, or important point from the surrounding text. Edit the message on the page and choose its tone in Content.
Label adds or removes the title area. People can close it controls the dismissible variant where applicable. Tone is a presentation choice, not proof that an operation succeeded.
Availability#
Available through the appropriate content or section picker when the theme and editing context allow it.
Content controls#
These are the controls registered for this element. A control that depends on another setting or the surrounding layout appears only when it applies.
Tone#
| Choice | Stored value |
|---|---|
| Note | note |
| Information | info |
| Success | success |
| Warning | warning |
| Important | important |
Label#
Turn this option on or off. The label describes the behavior being enabled.
People can close it#
Turn this option on or off. The label describes the behavior being enabled.
Save and check#
- Change one setting and inspect the affected element.
- Use Undo and Redo to check the edit is reversible.
- Save a draft, reopen it, and confirm the content and choices remain.
- Inspect the page at desktop and phone widths.
- Publish only when the result is ready. For interactive elements, check the visitor view because editing mode can suppress interaction.
How it is stored#
The block comes from blocks/140-callout.html. Its editable content is HTML in the page or owning template. Native settings update words, attributes, classes, or supported style properties. Generated interface controls are not saved into that HTML.
The settings registry matches .cb-callout, .cb-alert in assets/element-settings.js. Public behavior, when needed, is implemented by the native element runtime in assets/elements.js or assets/blocks.js.