Skip to content

Title Section

Title Section

Title Section provides a flexible container for section titles with configurable alignment, layout modes, and optional top line separator.

PropertyValue
Font Size18-24px (primary)
Font Weight600-700 (bold)
Line Height1.2-1.4
Padding8-16px vertical
Top Line Height1-2px

Single title with configurable alignment

Two titles positioned at opposite edges

Horizontal row layout for content

Vertical column layout for content

OptionTypeDefaultDescription
mode'single' | 'duo''single'Single or dual title mode
align'left' | 'center' | 'right''left'Horizontal alignment
position'left' | 'middle' | 'right''middle'Justification position
flexDirection'row' | 'column''row'Content layout direction
hasTopLinebooleanfalseShow top separator line
customClassstringundefinedAdditional CSS classes
AlignPositionResult
leftleftLeft-aligned, left-justified
leftmiddleLeft-aligned, center-justified
centermiddleCenter-aligned, center-justified
rightrightRight-aligned, right-justified
  • Section headers in content areas
  • Page or card titles
  • Divider between content sections
  • Duo titles for price/action combos
✅ Do❌ Don’t
Use for clear section separationOveruse in short content
Match alignment to content layoutMix alignments inconsistently
Use top line for visual separationAdd decorative elements
Keep titles conciseLong multi-line titles