Alert
<vox-alert> is a page-level notification, optionally dismissible. For static advisory text within prose, use Callout.
OpenVox 8.2 is now the default.
Your module is live on the Forge.
The Forge API will be read-only on Saturday.
Check the CI logs for details. This one is dismissible.
html
<vox-alert variant="warning" heading="Maintenance window" dismissible>
<p>The Forge API will be read-only on Saturday.</p>
</vox-alert>API
| Attribute | Type | Default | Description |
|---|---|---|---|
variant | info | success | warning | danger | info | Semantic style |
heading | string | — | Bold first line |
dismissible | boolean | false | Show a close button |
open | boolean | true | Visibility; cleared on dismiss |
Fires vox-dismiss when closed.