Feature GridProv1.0.0
What the product does, as a grid of cards: an icon, a title and a sentence each, and wide cards that carry a small piece of real UI to show the feature instead of describing it. A soft light follows the pointer so the grid reads as one surface.
pnpm dlx shadcn@latest add @beautiful-ui-pro/lumen-feature-gridNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
Styles didn't apply?
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Usage
Import it and pass your content. The props that matter most are listed next.
import { FeatureGrid } from "@/components/ui/lumen/blocks/feature-grid";
import { Switch } from "@/components/ui/lumen/switch";
export function Features() {
return (
<FeatureGrid
eyebrow="Why teams switch"
title="Everything in one calm place"
features={[
{ id: "alerts", wide: true, title: "Alerts you can trust", description: "Only when a number really moves, with the chart attached.", visual: <Switch defaultChecked aria-label="Alerts on" /> },
{ id: "share", title: "Share anything", description: "Every chart has a link that stays up to date." },
{ id: "api", title: "An API for everything", description: "Every number you see, available to your code." },
]}
/>
);
}Props
features–Feature[]Feature = { id, title, description, icon?, visual?, wide?, href? }. visual is any node (a mini chart, a toggle, a code line); wide spans two columns.
eyebrow / title / description–ReactNodeThe heading block above the grid.
columns32 | 3 | 4Columns on wide screens (two under 860px, one under 520px).
glowtruebooleanThe light that follows the pointer (mouse only; off under reduced motion).
Source
components/ui/lumen/blocks/feature-grid.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.