Skip to content

TMS Section

TMSSection pairs a concise title rail with broader supporting content. Use it for structured page sections that need clear hierarchy without a full hero treatment.

Usage

Useful theater.

A Tanaab-based section gives important copy a dedicated lane, then lets the typography perform a modest amount of executive theater.

html
<TMSSection
  orientation="left"
  border-top
  border-bottom>
  <template #title>
    Useful theater.
  </template>
  <p>A Tanaab-based section gives important copy a dedicated lane, then lets the typography perform a modest amount of executive theater.</p>
</TMSSection>

Props

PropTypeDefaultNotes
orientation'left' | 'right''left'Controls which side the title rail uses on wider layouts.
borderTopbooleanfalseAdds a top divider when enabled.
borderBottombooleanfalseAdds a bottom divider when enabled.

On stacked layouts, the title always renders above the content and aligns to the start.

Slots

SlotNotes
#titleSection title or label content.
defaultMain section content.

Variables

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

INFO

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