Production default
Balanced spacing, hierarchy, and content for the most common product workflow.
<LayoutSplitter />
// Generated by scripts/generate-showcase.mjs. Do not edit directly.
page LayoutSplitterDetail {
layout = "showcase"
state playground_size = ctx.url.searchParams.get("pg_size") ?? "default"
state playground_color = ctx.url.searchParams.get("pg_color") ?? "primary"
state playground_columns = ctx.url.searchParams.get("pg_columns") ?? "2"
state playground_gap = ctx.url.searchParams.get("pg_gap") ?? "md"
state playground_maxWidth = ctx.url.searchParams.get("pg_maxWidth") ?? "xl"
state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1"
seo {
title = "Layout Splitter"
description = "Theme-aware, responsive layout splitter component."
}
view {
Theme-aware, responsive layout splitter component. Change any prop and inspect the server-rendered component immediately.Layout Splitter
Configure Layout Splitter
<LayoutSplitter />
Compare configurations and resize the browser to check responsive behavior.
Balanced spacing, hierarchy, and content for the most common product workflow.
<LayoutSplitter />
A tighter variation for dashboards, side panels, tables, and operational interfaces.
<LayoutSplitter
size="sm"
/>
A more expressive variation using additional data, stronger emphasis, and optional states.
<LayoutSplitter
size="lg"
/>
Public events declared by this component. Custom events bubble from the component root and expose state through event.detail.
@resizeStartFires when the component emits the resize Start event.@resizeFires when the component emits the resize event.@resizeEndFires when the component emits the resize End event.const component = document.querySelector('[data-wrn-events]')
component.addEventListener('resizeStart', (event) => {
console.log(event.detail)
})All content and behavior shown above is supplied through these props and slots.
| Prop | Type | Default | Required |
|---|---|---|---|
size | string | "default" | No |
color | string | "primary" | No |
columns | number | 2 | No |
gap | string | "md" | No |
maxWidth | string | "xl" | No |
class | string | "" | No |