Components

BaseSectionTitle

A section heading with an optional step number, for long forms split into numbered parts.

components/ui/BaseSectionTitle.vue
View in the demo

Example

Contact details

Checkout, booking and the invoice editor split their form into numbered sections with it. Give the title an id and the <section> aria-labelledby, so screen readers announce the section by its title. Without number it is a plain heading.

API

Props

Name
Type
Default
Description
titlestring—The heading text.
numberstring | number—The step number in the tile before the title; leave it out for a plain heading.
idstring—The heading id, so the section can point to it with aria-labelledby.
title-tagstring"h2"The heading element.

Slots

Name
Slot props
Description
#default—Replaces the title text.
© 2026 melsami UI.
Developer documentation for melsami UI.