<sessions-heading>
A heading at the level the surrounding section implies.
Preact & React
<Heading>GroupTypographyDrawn asHeadingPreview
Drawn by the same renderers Sessions uses for your extension, from the DOM example beside it, without its event handlers.
When to use it
Renders a heading one level below the block it sits in, so an extension never breaks the page outline. Prefer sessions-section with a heading attribute for a titled group.
In Preact and React, import the component of the same name from @sessions/apps/preact or @sessions/apps/react. Attributes become camelCase props, a boolean attribute is a boolean prop, and an event is an on prop that receives the event’s detail.
Example
import {Heading} from '@sessions/apps/preact';
<Heading>What to bring</Heading>