Skip to content

Banner Header

Banner Header

Banner Header is a gradient banner component for displaying titles, subtitles, and actions with variant-based theming and semantic heading levels.

PropertyValue
Min-height120-160px
Padding24-32px
Border Radius8-12px
Title Size24-32px
Subtitle Size14-18px

Product gradient with blue tones

Reward gradient with warm tones

Custom gradient and text color

| title | string | '' | Main heading text | | subtitle | string | undefined | Optional subtitle | | variant | 'product' \| 'reward' \| 'custom' | 'product' | Gradient style | | headingLevel | 1-6 | 1 | Semantic heading level | | align | 'left' \| 'center' | 'left' | Text alignment | | showBackButton | boolean | false | Show back navigation | | backIconSrc | string | default icon | Custom back icon path | | backgroundGradient | string | undefined | Custom gradient (variant=custom) | | textColor | string | '#fff' | Custom text color (variant=custom) |

SlotDescription
#titleCustom title template (replaces config.title)
#actionsRight-aligned action buttons
LevelHTML TagUsage
1<h1>Main page title
2<h2>Section title
3-6<h3>-<h6>Subsection titles
  • Page headers with visual emphasis
  • Product/package banners
  • Promotional content headers
  • Form section headers
✅ Do❌ Don’t
Use appropriate heading levelsSkip SEO hierarchy
Keep titles conciseLong heading text
Use semantic variantsRandom color choices
Consider content projectionOver-configure via props