@data-club/dmarc · demo
One DMARC dashboard,
three depths of customization
The same library, the same server and the same (illustrative) data, mounted three ways. Each page below is one
Web Component registered with defineWebComponent — what differs is how much of the layout the
wrapper takes into its own hands.
TIER 1
Restyle
The stock dashboard with a theme.css: other colours, a serif typeface, squarer corners, its own name.
- no React beyond
<DataClubDmarc /> - ~20 lines + a stylesheet
Extend
The same dashboard plus the wrapper's own pieces, passed through slot props.
- an extra tab and Overview cards, fed by the wrapper's own endpoints
- a second source on the trend chart
- header link, footer, side panel
Compose
A different page built from the Dmarc.* primitives: a one-screen summary with a banner and no tabs.
- the layout file is ~60 lines
- every card still follows the shared filter