(Quick Reference)

ui:h1

Purpose

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

Supports i18n strings for headings.

Example

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

Attributes

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