Skip to content
Pixelbits
Docs / Feature grid
Blocks

Feature grid

A section of features: hairline-topped cells with an optional icon in an accent square. Server-component friendly.

Why Pixelbits

A quiet base, with detail where it counts.

  • Effects on interaction

    Hover, focus, open and loading get pixels. Nothing moves at rest.
  • Tiny bundles

    One entry per component; Button is about 2 kB.
  • Platform first

    Native dialog, popover and form inputs.

Installation

npm: import
import { FeatureGrid } from "pixelbits/feature-grid";
shadcn: copy the source
npx shadcn add https://pixelbits.ali-moradi-develop.com/r/block-feature-grid.json

API

<FeatureGrid>

A section of features: hairline-topped cells with an optional icon in an accent square. Server-component friendly.

Example
<FeatureGrid title="Why Pixelbits" features={[{ title: "Tiny", description: "Button is 2 kB." }]} />
PropTypeDefaultDescription
titleReactNode—

Section heading (an <h2>).

descriptionReactNode—

Text under the heading.

features*Feature[]—

The features.

columns2 | 3 | 43

Columns on wide screens (two on tablets, one on phones).

Also accepts every prop of Omit<HTMLAttributes<HTMLElement>, "title">.