Skip to content

Overline ​

Small uppercase label text with optional description. Used as an eyebrow or category label above content.

Also known as: eyebrow, kicker, category label, small caps label

View in Storybook

When to use ​

  • Displaying a category or section label above headings or content.
  • Showing metadata like "Daily Mix" with a subtitle "12 Tracks".
  • Adding hierarchical context to card or section headers.

Import ​

tsx
import { Overline } from '@vacano/ui'

Usage ​

tsx
<Overline>Category</Overline>

With description ​

tsx
<Overline description="12 Tracks">Daily Mix</Overline>

With heading ​

Common pattern: Overline + Heading for structured content headers.

tsx
<Overline description="12 Tracks">Daily Mix</Overline>
<Heading level={3}>Frontend Radio</Heading>

Props ​

PropTypeDefaultDescription
childrenReactNoderequiredUppercase label text
descriptionReactNode-Secondary text below the label
refRef<HTMLDivElement>-Forwarded ref
classNamestring-CSS class name for the root element
classnamesOverlineClassNames-Custom class names for sub-elements

ClassNames ​

KeyDescription
labelThe uppercase label text
descriptionThe description text
  • Heading - Heading text component
  • Card - Often used inside CardHeader

Released under the MIT License.