Staaarter

Bento Feature Grid

An asymmetric bento-style feature grid: a full-width, accent-colored hero card (headline, copy, and image) sits above a row of smaller icon-led feature cards, for calling out one flagship capability alongside a supporting list.

By Staaarter Team
Feature
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its media-slot dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/bento-feature-grid-hero.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature94.tsx instead.

Usage

The file also exports feature94Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { Feature94, feature94Demo } from "@/components/blocks/feature/feature94";

export default function Page() {
  return <Feature94 {...feature94Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringnoneSmall label above the heading.
headingReactNodenoneSection heading.
heroTitlestringnoneTitle inside the full-width hero card.
heroDescriptionstringnoneSupporting copy inside the hero card.
heroImageMediaSlotImagenoneImage shown alongside the hero card's copy.
featuresFeatureCell[]noneSmaller icon-led cards rendered in a row below the hero.
classNamestringnoneExtra classes for the outer section element.

Types

type FeatureCell = {
  icon: LucideIcon;
  title: string;
  description: string;
};

Behavior notes

  • Fully static server component, no client-side state.
  • The hero card uses bg-primary/text-primary-foreground for the deliberate color contrast that sets it apart from the smaller cards below.
  • The smaller feature cards wrap in a 2-4 column responsive grid.