// Generated by scripts/generate-showcase.mjs. Do not edit directly. page SectionHeaderDetail { layout = "showcase" state playground_id = ctx.url.searchParams.get("pg_id") ?? "" state playground_eyebrow = ctx.url.searchParams.get("pg_eyebrow") ?? "" state playground_title = ctx.url.searchParams.get("pg_title") ?? "Section Header example" state playground_description = ctx.url.searchParams.get("pg_description") ?? "A polished default section header for a modern application." state playground_align = ctx.url.searchParams.get("pg_align") ?? "start" state playground_size = ctx.url.searchParams.get("pg_size") ?? "default" state playground_color = ctx.url.searchParams.get("pg_color") ?? "primary" state playground_headingLevel = ctx.url.searchParams.get("pg_headingLevel") ?? "2" state playground_maxWidth = ctx.url.searchParams.get("pg_maxWidth") ?? "3xl" state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1" seo { title = "Section Header" description = "Reusable accessible section heading with eyebrow, title, description, icon, and actions." } view {
Layout component

Section Header

Reusable accessible section heading with eyebrow, title, description, icon, and actions.

10 props3 slots0 eventsTheme readyResponsive
Interactive playground

Configure Section Header

Change any prop and inspect the server-rendered component immediately.

Live preview
icon slot
actions slot
Component code
<SectionHeader
  title="Section Header example"
  description="A polished default section header for a modern application."
  align="start">
  <!-- Add icon, default, actions slot content here -->
</SectionHeader>
Component props10 controls
Live examples

Designed for real product surfaces

Compare configurations and resize the browser to check responsive behavior.

Recommended

Production default

Balanced spacing, hierarchy, and content for the most common product workflow.

01
Live preview
icon slot
actions slot
Component usage.wrn
<SectionHeader
  title="Section Header example"
  description="A polished default section header for a modern application."
  align="start">
  <!-- Add icon, default, actions slot content here -->
</SectionHeader>
Dense UI

Compact application

A tighter variation for dashboards, side panels, tables, and operational interfaces.

02
Live preview
icon slot
actions slot
Component usage.wrn
<SectionHeader
  title="Compact Section Header"
  description="A compact configuration for dashboards and dense product surfaces."
  align="center"
  size="sm">
  <!-- Add icon, default, actions slot content here -->
</SectionHeader>
Extended

Rich configuration

A more expressive variation using additional data, stronger emphasis, and optional states.

03
Live preview
icon slot
actions slot
Component usage.wrn
<SectionHeader
  title="Advanced Section Header"
  description="A richer configuration demonstrating additional content and hierarchy."
  align="end"
  size="lg">
  <!-- Add icon, default, actions slot content here -->
</SectionHeader>
Component events

Events

Public events declared by this component. Custom events bubble from the component root and expose state through event.detail.

No public component events.
Component API

Props and configuration

All content and behavior shown above is supplied through these props and slots.

PropTypeDefaultRequired
idstring""No
eyebrowstring""No
titlestring""No
descriptionstring""No
alignstring"left"No
sizestring"default"No
colorstring"primary"No
headingLevelnumber2No
maxWidthstring"3xl"No
classstring""No
} }