(Quick Reference)

ui:h2

Purpose

Renders a h2-equivalent heading. The actual heading level used in HTML may not be h2, as the UI Set or theme may use upper heading levels for other UI elements.

Supports i18n strings for headings.

Example

<ui:h2>This is a title</ui:h2>
<ui:h2 text="sub.heading"/>
<ui:h2 text="sub.heading" textArgs="[userName:user.name]"/>

Attributes

NameRequired?Description
textNoOptional i18n message code or default text
textArgsNoOptional arguments for i18n message