crucıble

Ingot Grid

A responsive bento layout primitive — IngotGrid and IngotCell compose column/row spans into magazine-style tiles with beveled borders that brighten on hover while sibling cells dim.

cssfree

Installation

CLI

npx shadcn@latest add @crucible/ingot-grid

Props

PropTypeDefaultDescription
childrenReact.ReactNodeIngotCell children (or any content).
columns2 | 3 | 4 | 5 | 64Columns at the desktop (lg) breakpoint. Mobile is always 1 column, sm is 2.
rowHeightnumber140Height of an implicit row in px — controls how tall a rowSpan step is.
gapnumber | string16Gap between cells, any CSS length or a number of px.
Also accepts all props of React.ComponentPropsWithoutRef<"div">they pass through to the underlying element.

Honors prefers-reduced-motion with a designed static fallback, and passes className through.