// 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 {
Interactive playgroundConfigure Section Header
Change any prop and inspect the server-rendered component immediately.
Live preview
<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>
Live examplesDesigned for real product surfaces
Compare configurations and resize the browser to check responsive behavior.
<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>
<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>
<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 eventsEvents
Public events declared by this component. Custom events bubble from the component root and expose state through event.detail.
No public component events.
Component APIProps and configuration
All content and behavior shown above is supplied through these props and slots.
| Prop | Type | Default | Required |
|---|
id | string | "" | No |
eyebrow | string | "" | No |
title | string | "" | No |
description | string | "" | No |
align | string | "left" | No |
size | string | "default" | No |
color | string | "primary" | No |
headingLevel | number | 2 | No |
maxWidth | string | "3xl" | No |
class | string | "" | No |
}
}