page ProductPageShellcomponent { seo { title = "ProductPageShell component" description = "Reusable product page shell component." } view {
W WRNexusJS
layout component

ProductPageShell

Reusable product page shell component.

@wrnexus/ui 0.2.771 props1 slots0 events

Usage

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

<ProductPageShell />

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

Props and attributes

PropTypeRequirementDefault
classstringOptional""

Slots

  • default

Events

This component does not declare a custom event.

Source contract

Installed source: components/ProductPageShell.wrn

component ProductPageShell {
  props { class = "" }

  view {
        <main
      class="
        min-h-screen w-full overflow-x-clip
        bg-[var(--wire-color-background,#ffffff)]
        font-[var(--wire-font-sans,ui-sans-serif,system-ui,sans-serif)]
        text-[var(--wire-color-text,#0f172a)]
        antialiased
        {class}
      "
    >
        <slot />
        </main>
    }
}
} }