Feature grid
A grid of features with icons, in 2 to 4 columns.
Preview
Features rise in one after another as the grid scrolls into view. With reduced motion turned on, it renders the plain layout.
Everything a launch page needs
Sample features.
One command
Install any section with the shadcn CLI.
Your theme
Sections read your shadcn tokens.
Server-first
Plain sections render as server components.
Accessible
Semantic HTML and keyboard support.
Light and dark
Every section works in both themes.
Optional motion
Add the motion version where it helps.
Everything a launch page needs
Sample features.
One command
Install any section with the shadcn CLI.
Your theme
Sections read your shadcn tokens.
Server-first
Plain sections render as server components.
Accessible
Semantic HTML and keyboard support.
Light and dark
Every section works in both themes.
Optional motion
Add the motion version where it helps.
Installation
Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.
Usage
import { FeatureGrid } from "@/components/custom/feature-grid";
<FeatureGrid
title="Everything a launch page needs"
columns={3}
items={[{ title: "One command", description: "Install with the CLI.", icon: <Terminal /> }]}
/>import { FeatureGridMotion } from "@/components/custom/feature-grid/feature-grid-motion";
<FeatureGridMotion items={features} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items* (required) | { title; description; icon?: LucideIcon | ReactElement }[] | – | Features in reading order. Pass icons as elements (<Zap />) when a server page renders the motion version. |
| columns | 2 | 3 | 4 | 3 | Columns from the lg breakpoint. |
| title / description | string | – | Heading (h2) and line under it. |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
| Prop | Type | Default | Description |
|---|---|---|---|
| items* (required) | { title; description; icon?: LucideIcon | ReactElement }[] | – | Features in reading order. Pass icons as elements (<Zap />) when a server page renders the motion version. |
| columns | 2 | 3 | 4 | 3 | Columns from the lg breakpoint. |
| title / description | string | – | Heading (h2) and line under it. |
| ...props | React.ComponentProps<"section"> | – | Any other section attribute (id, aria-*, data-*, ref) goes to the root element. |
Accessibility
- A list of features, each with its own h3.
- The motion version follows the visitor's reduced-motion setting and never hides content before it animates.