Inverted pattern hero
A dark hero with a drawn grid and a radial mask instead of a gradient.
Live preview
Source
This exact file renders the preview above.
components/blocks/sections/hero/inverted-pattern.tsx
components/ui/badge.tsx
Demo source — adapt to your project. Foundry is not published as a package.
Usage
Depth without a gradient: two background-image declarations that cost no bytes and re-theme with the border token.
- Masks are cheaper and sharper than a blurred image for this effect.
- Keep body copy at 80% opacity, not lower — inverted text loses legibility fast.
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.
- Grid-paper layer
- Radial mask
- Centred content
Accessibility
- Decorative layer
- The pattern is aria-hidden and non-interactive.
- Token-driven contrast
- Foreground uses ink-inverse, so contrast survives a palette change.
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.
Related
All sectionsInverted CTA panel
A dark rounded panel inside a light page.
starter3 variantsTransparent over hero
A navbar with no background of its own, inheriting inverted ink from the hero beneath it.
starter3 variantsInverted statistics panel
A dark band of four derived figures, used as punctuation between light sections.
starter3 variants