PageShell
Reusable page shell component.
Usage
Components are auto-discovered. Use the component directly in any .wrn view:
<PageShell />Legacy mount name: data-component="PageShell".
Props and attributes
| Prop | Type | Requirement | Default |
|---|---|---|---|
className | string | Optional | "" |
Slots
default
Events
This component does not declare a custom event.
Source contract
Installed source: components/PageShell.wrn
component PageShell {
props {
className = ""
}
view {
<div class="min-h-screen bg-white text-slate-950 antialiased selection:bg-violet-200 dark:bg-slate-950 dark:text-white dark:selection:bg-violet-800 {className}">
<slot />
</div>
}
}