Inverted statistics panel
A dark band of four derived figures, used as punctuation between light sections.
Marketingstarterstatsinverteddarkcounts
Live preview
full widthLive preview — open it in a new tab for the full-height version.
Source
This exact file renders the preview above.
components/blocks/sections/stats/inverted-panel.tsx
lib/catalogue/index.ts
Demo source — adapt to your project. Foundry is not published as a package.
Usage
Every figure is read from the live catalogue, so the panel cannot claim a number the library does not contain.
- Use one inverted band per page. Two makes both feel arbitrary.
- State the provenance of derived numbers, so the reader knows they are counted rather than claimed.
Variants and states
Every entry below is a genuine difference in behaviour or layout, and every one of them is visible in the preview above.
- Four columns at lg
- Rule above each figure
- Counts derived at build time
Accessibility
- Contrast
- Foreground uses the ink-inverse token, so contrast holds in every palette.
- Definition list
- Figures and labels are programmatically paired.
Foundry implements published ARIA patterns and is tested against them. No WCAG certification is claimed — see the accessibility documentation for what is and is not covered.