ProductPageShell
Reusable product page shell component.
Usage
Components are auto-discovered. Use the component directly in any .wrn view:
<ProductPageShell />Legacy mount name: data-component="ProductPageShell".
Props and attributes
| Prop | Type | Requirement | Default |
|---|---|---|---|
class | string | Optional | "" |
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-bg,#ffffff)] font-[var(--wire-font-sans,ui-sans-serif,system-ui,sans-serif)] text-[var(--wire-color-text,#0f172a)] antialiased {class} "
>
<slot />
</main>
}
}