Skip to content
W WRNexusJS
core component

PageShell

Reusable page shell component.

@wrnexus/ui 0.2.671 props1 slots0 events

Usage

Components are auto-discovered. Use the component directly in any .wrn view:

<PageShell />

Legacy mount name: data-component="PageShell".

Props and attributes

PropTypeRequirementDefault
classNamestringOptional""

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>
    }
}