Backgrounds

Components

Component

A container that draws a dot or line grid behind its children, with a radial, top or no fade mask and an optional spotlight that brightens the grid around the pointer. The pattern is pure CSS from your foreground and chart tokens, the pointer is tracked through CSS variables so children never re-render, and it works for heroes, empty states and drop zones.

Backgrounds · Chomodo Studio 0 likes 0 installs
Component

Quiet CSS-only surface patterns for sections, cards and preview stages: diagonal hatch in both directions, cross-hatch, a graph grid with minor and major lines, ruled notebook lines with an optional margin rule, an isometric triangle grid, fine grain noise and a blueprint grid on a tinted base. Lines are drawn from your border, muted and primary colours, so they follow the theme in light and dark. Patterns take a scale in pixels and an opacity, can line up with the element's edge, content box or centre, and can fade into the page from the centre, top, bottom or edges. Use the wrapper component, or the style helper to put a pattern on any element. The pattern layer is decorative and hidden from assistive technology, and nothing moves.

Backgrounds · Chomodo Studio 0 likes 0 installs