Section Heading

The heading row of a section: a real h2 to h4 named by its title alone (an optional count is read after it), with actions at the end.

Available in
  • Angular: available
  • Vue: available
  • React: available
  • React Native: available

Usage

Meetings24

Pinned3

Import

ts
import {
  SoneSectionHeadingActionsDirective,
  SoneSectionHeadingComponent,
} from "@surface-one/angular/section-heading";

API reference

SoneSectionHeadingActionsDirectiveDirective

`[soneSectionHeadingActions]` — controls at the end of the heading row.

Selector
[soneSectionHeadingActions]

SoneSectionHeadingComponentComponent

`<sone-section-heading>` — the heading row of a page section: a real `h2`–`h4` (`level`, default 2) with the `title`, an optional `count` in a secondary badge after it, and controls in `[soneSectionHeadingActions]` at the end of the row. The heading is named by its title alone (`aria-labelledby`), so a heading list reads "Meetings", not "Meetings12"; the count describes it (`aria-describedby`) and is read after the name ("Meetings, heading level 2, 12").

Selector
sone-section-heading
Inputs
NameType Default
titlerequiredstring—
count

A count in a secondary badge after the title; `null` hides it.

number | string | nullnull
level

The heading level: 2, 3 or 4.

SectionHeadingLevel2