Production default
Balanced spacing, hierarchy, and content for the most common product workflow.
<PublicPageShell
fullWidth="false">
<!-- Add before, default, after slot content here -->
</PublicPageShell>
// Generated by scripts/generate-showcase.mjs. Do not edit directly.
page PublicPageShellDetail {
layout = "showcase"
state playground_maxWidth = ctx.url.searchParams.get("pg_maxWidth") ?? "full"
state playground_fullWidth = ctx.url.searchParams.get("pg_fullWidth") ?? "false"
state playground_headerOffset = ctx.url.searchParams.get("pg_headerOffset") ?? "none"
state playground_background = ctx.url.searchParams.get("pg_background") ?? "default"
state playground_overflow = ctx.url.searchParams.get("pg_overflow") ?? "clip"
state playground_minHeight = ctx.url.searchParams.get("pg_minHeight") ?? "screen"
state playground_size = ctx.url.searchParams.get("pg_size") ?? "default"
state playground_color = ctx.url.searchParams.get("pg_color") ?? "primary"
state playground_variant = ctx.url.searchParams.get("pg_variant") ?? "default"
state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1"
seo {
title = "Public Page Shell"
description = "Consistent structural wrapper for public-facing pages."
}
view {
Consistent structural wrapper for public-facing pages. Change any prop and inspect the server-rendered component immediately.Public Page Shell
Configure Public Page Shell
<PublicPageShell
fullWidth="false">
<!-- Add before, default, after slot content here -->
</PublicPageShell>
Compare configurations and resize the browser to check responsive behavior.
Balanced spacing, hierarchy, and content for the most common product workflow.
<PublicPageShell
fullWidth="false">
<!-- Add before, default, after slot content here -->
</PublicPageShell>
A tighter variation for dashboards, side panels, tables, and operational interfaces.
<PublicPageShell
fullWidth="false"
size="sm"
variant="secondary">
<!-- Add before, default, after slot content here -->
</PublicPageShell>
A more expressive variation using additional data, stronger emphasis, and optional states.
<PublicPageShell
size="lg"
variant="success">
<!-- Add before, default, after slot content here -->
</PublicPageShell>
Public events declared by this component. Custom events bubble from the component root and expose state through event.detail.
All content and behavior shown above is supplied through these props and slots.
| Prop | Type | Default | Required |
|---|---|---|---|
maxWidth | string | "full" | No |
fullWidth | boolean | true | No |
headerOffset | string | "none" | No |
background | string | "default" | No |
overflow | string | "clip" | No |
minHeight | string | "screen" | No |
size | string | "default" | No |
color | string | "primary" | No |
variant | string | "default" | No |
class | string | "" | No |