Back to components
Components

Overtitle

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
isUppercasetrueboolean
colorColorAccent.SECONDARY_BRANDColorAccent.PRIMARY_BRAND | ColorAccent.SECONDARY_BRAND | ColorAccent.NEUTRAL

Usage

title

Sets the text to be displayed as the overtitle.

 <template>
  <Overtitle title="Section Title" />
</template>
 
  • Type: string
  • Default: 'Overtitle'

isUppercase

Determines whether the overtitle text should be displayed in uppercase letters.

 <template>
  <Overtitle title="Section Title" :isUppercase="true" />
</template>
 
  • Type: boolean
  • Default: true

color

Sets the color of the overtitle text. Accepts predefined color accents.

 <template>
  <Overtitle :color="ColorAccent.PRIMARY_BRAND" />
</template>
 
  • Type: ColorAccent.PRIMARY_BRAND | ColorAccent.SECONDARY_BRAND | ColorAccent.NEUTRAL
  • Default: ColorAccent.SECONDARY_BRAND

Options

Value Description
NEUTRAL

Neutral

PRIMARY_BRAND

Primary Brand

SECONDARY_BRAND

Secondary Brand