Grid Frame

The shared kit behind the grid blocks: railed section, full-bleed rules, cells, markers, labels and buttons.

Blocks
gridlayoutkit

00Grid frame

Rails, rules, cells and markers. Every grid block is built from these pieces.

GridCell
interactive
filled

Usage

Drop the file into your project and import it. There is no package to install.

usage.tsx
import { GridSection, GridMarker, GridRule, GridCells, GridCell, GridLabel, GridButton, GridLogo } from "@/registry/blocks/grid-frame";

export function Example() {
  return <GridSection />;
}

Install prerequisites

Every component here relies only on Tailwind and the cn helper from shadcn/ui.

terminal
npm i clsx tailwind-merge

More in Blocks