Skip to content

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

AttributeTypeDefaultDescription
variantinfo | success | warning | dangerinfoSemantic style
headingstringBold first line
dismissiblebooleanfalseShow a close button
openbooleantrueVisibility; cleared on dismiss

Fires vox-dismiss when closed.

Released under the Apache-2.0 License.