Skip to main content

Shortcode Examples

usa-alert Shortcode Examples

Example Info Alert

This is an example informational alert.

Example Warning Alert

This is an example warning alert.

The markdown used can be multiple paragraphs in length.

Example Success Alert

This is an example success alert with markdown text.

You can also apply multiple styles to the alert. The class parameter can be used to apply styles to the outer alert, such as class="usa-alert--no-icon". The body-class parameter can be used to apply styles to the text body, such as a measure-1.

This page was last updated on October 24, 2019.