Heading
A heading/title text element with semantic HTML tag support (H1-H6) and comprehensive typography controls.
Overview
The Heading element creates semantic HTML headings that establish content hierarchy. It supports all six heading levels (H1-H6) and inherits brand-specific typography from the active theme.
Live Preview
H1 Heading
H2 Heading
H3 Heading
H4 Heading
H5 Heading
H6 Heading
Code
1<h1 class="heading heading-h1">H1 Heading</h1>2<h2 class="heading heading-h2">H2 Heading</h2>3<h3 class="heading heading-h3">H3 Heading</h3>4<h4 class="heading heading-h4">H4 Heading</h4>5<h5 class="heading heading-h5">H5 Heading</h5>6<h6 class="heading heading-h6">H6 Heading</h6>
Brand Properties
The following table maps CRAFT HeadingComponent properties to brand-specific values. Font options available in CRAFT: Open Sans, Larken, Playfair Display, Lato, Inter, Roboto. Weight options: light (300), normal (400), medium (500), semibold (600), bold (700). Html Tag options: H1, H2, H3, H4, H5, H6.
| Property | Type | Brand Default | HoB Value | TAE Value |
|---|---|---|---|---|
| Font | Dropdown | Open Sans | Larken | Merriweather |
| Weight | Dropdown | normal (400) | bold (700) for H1, semibold (600) for H2-H6 | normal (400) |
| Size | Dropdown | 16px | H1: 60px, H2: 50px, H3: 42px, H4: 36px, H5: 30px, H6: 24px | H1: 60px, H2: 50px, H3: 42px, H4: 36px, H5: 30px, H6: 24px |
| Html Tag | Dropdown | H3 | H1-H6 (semantic) | H1-H6 (semantic) |
| Text Alignment | 4 options | left | left | left |
| Line Height | Slider | Auto | tight: 1.2, normal: 1.5, relaxed: 1.75 | tight: 1.2, normal: 1.5, relaxed: 1.75 |
| Letter Spacing | Slider | 0 px | 0.5px (buttons only) | 0 |
| Text Case | 2 options | none | none | none |
| Margins | Input (px) | 0 | 0 | 0 |
| Padding | Input (px) | 0 | 0 | 0 |
| Corner Radius | Input (px) | 0 | sm: 4px, md: 8px, lg: 12px | sm: 4px, md: 8px, lg: 12px |
| Background Color | Color picker | rgb(255,255,255) | #FFF9EE (cream) | #FFFFFF (white) |
| Border Style | Dropdown | none | none | none |
| Border Width | Input | 0px | 0px | 0px |
| Border Color | Color picker | rgb(0,0,0) | #038012 (primary) | #1A5129 (primary green) |
| Opacity | Slider | 100% | 100% | 100% |
| Shadow | Toggle | Off | sm/md/lg available | sm/md/lg available |
Accessibility
- Use heading levels in order (don't skip from H1 to H3)
- Only use one H1 per page
- Headings should describe the content that follows
- Maintain proper heading hierarchy for screen readers
Related Components
Unmapped Brand Values
The following brand guideline values cannot be directly mapped to CRAFT HeadingComponent properties. These values represent brand identity elements, strategic positioning, or properties that apply to other components.
| Brand Value | HoB | TAE | Notes |
|---|---|---|---|
| Brand Archetype | Innocent Ruler | Sage-Ruler | Strategic brand positioning, not a visual property |
| Aesthetic | Celebratory, Maximalist, Madhubani-inspired | Sophisticated, Natural, Trustworthy | Design philosophy, not a component property |
| Heritage | 5,000-year-old Ayurveda | 5,000-year-old Ayurveda | Brand story element, not visual |
| Origin | India | - | Geographic reference, not a style property |
| Pronunciation | Aa-You-Raa | - | Verbal identity, not visual |
| Tagline | - | Discover Ayurvedic wellness | Marketing copy, not a style property |
| Logo Min Size | 50px | 48px | Logo-specific rule, not applicable to headings |
| Logo Placement | Top right corner | Top left corner | Logo-specific rule, not applicable to headings |
| House of Brands | - | iYURA, Ajara, Ayuttva | Brand architecture, not a component property |
| Text Primary Color | #038012 | #333333 | Applied via CSS variable, not direct CRAFT property |
| Secondary Color | #8B9F4A | #F2E8DD (cream background) | Brand palette color, not direct heading property |
| Accent Color | #C4A962 | #9C3F8A (purple), #F68522 (orange), #F4D82E (yellow) | Brand palette color, not direct heading property |
