Grid | CombricSkip to content

Grid

Combric

Intrinsic responsive grid or explicit one-to-four columns.

@combric/layout · v1.1.1 · Current

Import and usage

import { Grid } from "@combric/react";

The framework-independent CSS contract is available from@combric/layout/css; the React wrapper comes from@combric/react.

Examples

Grid

First
Second
Third

Explicit columns

Two columns
Two columns
Three
Three
Three
Four
Four
Four
Four

Native CSS and Tailwind adapter

Both previews use the same canonical content. Native CSS is the default; the Tailwind adapter is optional.

Responsive grid — Native CSS

First
Second
Third

Responsive grid — Tailwind adapter

First
Second
Third

Public API

Public exports
Name
Grid
Documented contracts
Contract
minItemWidth: sm | md | lg
columns: 1 | 2 | 3 | 4
gap

Accessibility

Layout changes presentation only. Choose semantic elements and preserve meaningful source order; Combric does not add ARIA, reorder content, or measure the viewport.

Source

View React wrapper source on GitHub