Skip to content

TMS Hero

TMSHero creates a full-width editorial opening with a large title and supporting content. Use it for page-level statements that need more presence than a normal section heading.

Usage

Start big.
Say something useful.

A Tanaab-based hero converts first impressions into a disciplined brand-performance corridor, which is a majestic way of saying the top of the page should make its point quickly.

html
<TMSHero
  border-top
  border-bottom>
  <template #title>
    Start big. <br><strong>Say something useful.</strong>
  </template>
  <p>A Tanaab-based hero converts first impressions into a disciplined brand-performance corridor, which is a majestic way of saying the top of the page should make its point quickly.</p>
</TMSHero>

Props

PropTypeDefaultNotes
borderTopbooleanfalseAdds a top divider when enabled.
borderBottombooleanfalseAdds a bottom divider when enabled.

Slots

SlotNotes
#titleOversized hero statement.
defaultSupporting body content.

Variables

VariablePurpose
--tms-hero-gapGap between title and content.
--tms-hero-padding-blockVertical padding for the hero.

INFO

TMSHero automatically connects the section to its title with a generated aria-labelledby ID.