DashboardWidgetShell
Shell for the XMC Dashboard widget grid cell extension point
SSR mode
Host context
Targets the XMC Dashboard widget grid cell. Card-styled, fits the dashboard's allotted cell. Title (or Header slot) at top, Body in middle, optional Footer.
Examples
With title + body + footer
Recent activity
Widget content goes here.
Last updated: just now
API
The element family below can be composed together. Click an element to jump to its properties.
| Element | Purpose |
|---|---|
| DashboardWidgetShell | Shell for the XMC Dashboard widget grid cell extension point. Card-styled, fits the dashboard's allotted cell. Title string and Header slot can be combined — Title renders as an h3 and Header renders ml-auto beside it. Wrapper-styling. |
DashboardWidgetShell
Shell for the XMC Dashboard widget grid cell extension point. Card-styled, fits the dashboard's allotted cell. Title string and Header slot can be combined — Title renders as an h3 and Header renders ml-auto beside it. Wrapper-styling.
| Property | Type | Required | Description |
|---|---|---|---|
| Title | string? | Optional widget title rendered as h3 text-sm font-semibold. | |
| Header | RenderFragment? | Optional additional header content rendered ml-auto beside the Title. | |
| Body | RenderFragment? | Main body slot — flex-1, vertically scrollable. | |
| Footer | RenderFragment? | Optional footer slot, flex-shrink-0 at bottom of card. | |
| Borders | bool | Toggles outer border + horizontal dividers between regions. Default: true. | |
| Gutters | bool | Toggles px-4 py-3 on header/footer and p-4 on body. Default: true. | |
| BgFilled | bool | Toggles bg-background. Default: true. |