sigilUI

Box 3D Grid

Arrange dimensional boxes into a coordinated grid.

@sigil-ui/componentsReact

Preview

Hover to inspect each token layer Interactive

Import

import { Box3DGrid } from "@sigil-ui/components";

Usage

<Box3DGrid
  columns={3}
  items={[
    { key: "tokens", children: "Tokens", hoverLift: true },
    { key: "components", children: "Components", hoverLift: true },
    { key: "presets", children: "Presets", hoverLift: true },
  ]}
/>

Props

PropTypeDefaultDescription
itemsBox3DGridItem[]—Items to display in the grid.
columnsnumber3Number of columns.
gapstring | number1.5remGap between boxes.