Brik Design System
Components

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

PropTypeDefault
orientation'vertical' | 'horizontal''vertical'
cellsBrikBlocksCell[]—

Plus all standard HTML attributes for the rendered <div>.

On this page

💬