Layout | SectionHeading
SectionHeading#
Description#
- Component for a section title: “Cuentas”, “Hoy”, “Septiembre de 2026 · 214”. Two variants: the
eyebrow, the small uppercase line above a section; and thegroup, the title of a group of elements with a counter badge and a divider line.
Props#
title(string) — The title text. Required.icon(string) — Theme icon name, before the title.iconType('icon'|'symbol') — Theme icon type. Default:'symbol'.count(number | string) — How many items the section has; drawn in a badge.variant('eyebrow'|'group') — Title style. Default:'eyebrow'.sticky(boolean) — Pins the title to the top of the scrolling container. Default:false.surface('window'|'panel') — What it sticks to: the window or aPanel. Default:window.divider(boolean) — Draws a line from the title to the edge. Default:false.as('h2'|'h3'|'h4'|'h5'|'h6') — The title level in the document. Default:'h3'.
Slots#
actions— Content to the right of the title: “Ver todo”, “Agregar”.
Usage#
| |
Notes#
- When
stickyistrue, the background is opaque and matches the color ofsurface(design decision: nobackdrop-blur, which is costly in WebKitGTK). surface="panel"uses 70 % surface on top of the window background.