// Generated by scripts/generate-showcase.mjs. Do not edit directly. page SectionDetail { layout = "showcase" state playground_id = ctx.url.searchParams.get("pg_id") ?? "" 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_spacing = ctx.url.searchParams.get("pg_spacing") ?? "lg" state playground_maxWidth = ctx.url.searchParams.get("pg_maxWidth") ?? "xl" state playground_fullWidth = ctx.url.searchParams.get("pg_fullWidth") ?? "false" state playground_borderTop = ctx.url.searchParams.get("pg_borderTop") ?? "false" state playground_borderBottom = ctx.url.searchParams.get("pg_borderBottom") ?? "false" state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1" seo { title = "Section" description = "Theme-aware page section with consistent spacing, width, background, and border controls." } view {
Layout component

Section

Theme-aware page section with consistent spacing, width, background, and border controls.

10 props1 slots0 eventsTheme readyResponsive
Interactive playground

Configure Section

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

Live preview
Composable content area.
Component code
<Section>
  <!-- Add default slot content here -->
</Section>
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
Composable content area.
Component usage.wrn
<Section>
  <!-- Add default slot content here -->
</Section>
Dense UI

Compact application

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

02
Live preview
Composable content area.
Component usage.wrn
<Section
  size="sm"
  variant="secondary">
  <!-- Add default slot content here -->
</Section>
Extended

Rich configuration

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

03
Live preview
Rich supporting content with additional context.
Component usage.wrn
<Section
  size="lg"
  variant="success"
  fullWidth="true">
  <!-- Add default slot content here -->
</Section>
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
sizestring"default"No
colorstring"primary"No
variantstring"default"No
spacingstring"lg"No
maxWidthstring"xl"No
fullWidthbooleanfalseNo
borderTopbooleanfalseNo
borderBottombooleanfalseNo
classstring""No
} }