BrikBlocks
Decorative square-motif primitive — the "brik" mark from the /about redesign. A run of 24×24px squares, 8px gap, tinted light/dark/poppy in order.
BrikBlocks renders a run of 24×24px squares with an 8px gap between them, each tinted light, dark, or poppy in the order given. It is absolutely non-interactive (aria-hidden="true", pointer-events: none) — a pure decorative mark, not a data visualization or a layout primitive.
Use it for
- The "brik" square motif accent from the /about page redesign
- Any decorative square run that needs the same 24px/8px geometry and light/dark/poppy palette
Not for anything that needs to convey information — it carries no text slot and is hidden from assistive tech by default.
Import
import { BrikBlocks } from '@brikdesigns/bds';Orientation
<BrikBlocks orientation="vertical" cells={['light', 'dark', 'light']} />
<BrikBlocks orientation="horizontal" cells={['dark', 'poppy', 'light']} />Cells
cells is an ordered array of any length — each entry is one square's fill.
<BrikBlocks cells={['poppy']} />Accessibility
- Renders
aria-hidden="true"— decorative only, carries no content. pointer-events: none— never intercepts interaction.
API
| Prop | Type | Default |
|---|---|---|
orientation | 'vertical' | 'horizontal' | 'vertical' |
cells | BrikBlocksCell[] | — |
Plus all standard HTML attributes for the rendered <div>.
Related
BackgroundPattern
Decorative CSS-gradient texture layer for behind-content surfaces — dot grid or line grid, absolutely positioned behind real content.
AmbientField
Premium-tier ambient motion field behind content — Lottie by default or a 2D-canvas particle field, freezing to a static poster frame under reduced motion.