InsetPanel
Reusable inset panel component.
Usage
Components are auto-discovered. Use the component directly in any .wrn view:
<InsetPanel />Legacy mount name: data-component="InsetPanel".
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/InsetPanel.wrn
component InsetPanel {
props {
class = ""
}
view {
<div class="wire-inset-panel {class}">
<slot />
</div>
}
}