A page-section heading composition that preserves caller heading semantics.
The required heading slot must contain the caller's chosen heading element. ShadcnUI does not infer a level, handle actions, observe scrolling, or own section state. Sticky and anchor effects are optional CSS presentation.
Summary
Functions
Renders a section header without manufacturing a heading level.
Functions
Renders a section header without manufacturing a heading level.
Attributes
presentation(:atom) - Defaults to:static. Must be one of:static, or:sticky.density(:atom) - Defaults to:default. Must be one of:compact,:default, or:comfortable.anchor_effect(:atom) - Defaults to:offset. Must be one of:none,:offset, or:accent.border(:boolean) - Defaults tofalse.class(:any) - Defaults tonil.- Global attributes are accepted.
Slots
heading(required)descriptionactions