Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
30 lines (24 sloc) 919 Bytes
title sidenav menu
Shortcode Examples
toc
includehtml
true
primary
parent name weight
examples
Shortcode Use
20

usa-alert Shortcode Examples

{{}} This is an example informational alert. {{}}

{{% usa-alert heading="Example Warning Alert" type="warning" %}} This is an example warning alert.

The markdown used can be multiple paragraphs in length. {{% /usa-alert %}}

{{% usa-alert heading="Example Success Alert" type="success" class="usa-alert--no-icon" body-class="measure-1" %}} 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. {{% /usa-alert %}}

You can’t perform that action at this time.