// 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 = Number(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 = "Introduce a section with an eyebrow, title, description, alignment, and responsive heading hierarchy."
}
view {
Layout component
Section Header
Introduce a section with an eyebrow, title, description, alignment, and responsive heading hierarchy.
10 props3 slots0 outputsTheme readyResponsive
Interactive playground
Configure Section Header
Change any prop and inspect the server-rendered component immediately.
Live preview
Component code
<SectionHeader
title="Section Header example"
description="A polished default section header for a modern application."
align="start">
<div data-slot="icon">
<div class="showcase-slot">icon slot</div>
</div>
<div data-slot="actions">
<div class="showcase-slot">actions slot</div>
</div>
</SectionHeader>
Live examples
Designed for real product surfaces
Compare configurations and resize the browser to check responsive behavior.
Recommended
Left-aligned section header
Introduce features, services, content groups, or dashboard areas.