Back to components
ComponentsOvertitle
A simple and customizable Overtitle component for displaying section headings with optional uppercase styling and color variants.
Component
Overtitle
Props
| Props | Default | Type |
|---|---|---|
title | 'Overtitle' | string |
isUppercase | true | boolean |
color | ColorAccent.SECONDARY_BRAND | ColorAccent.PRIMARY_BRAND | ColorAccent.SECONDARY_BRAND | ColorAccent.NEUTRAL |
Usage
title
Sets the text to be displayed as the overtitle.
<template>
<Overtitle title="Section Title" />
</template>
isUppercase
Determines whether the overtitle text should be displayed in uppercase letters.
<template>
<Overtitle title="Section Title" :isUppercase="true" />
</template>
color
Sets the color of the overtitle text. Accepts predefined color accents.
<template>
<Overtitle :color="ColorAccent.PRIMARY_BRAND" />
</template>
Options
| Value | Description |
|---|---|
NEUTRAL | Neutral |
PRIMARY_BRAND | Primary Brand |
SECONDARY_BRAND | Secondary Brand |