Staaarter

Capabilities Bento

A feature section arranged as an asymmetric bento grid: a wide image hero cell and an accent-colored statement cell sit side by side above a row of smaller icon cells, each covering one capability.

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/capabilities-bento.json

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

Usage

The file also exports feature57Demo, 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 { Feature57, feature57Demo } from "@/components/blocks/feature/feature57";

export default function Page() {
  return <Feature57 {...feature57Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringnoneSmall label above the heading.
headingReactNodenoneSection heading.
descriptionstringnoneSupporting copy under the heading.
heroImageMediaSlotImagenoneImage shown in the large hero cell.
statementValuestringnoneLarge stat or headline shown in the accent cell.
statementLabelstringnoneSupporting sentence under the statement value.
capabilitiesCapabilityCell[]noneIcon cells rendered below the hero row.
classNamestringnoneExtra classes for the outer section element.

Types

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

Behavior notes

  • Fully static server component, no client-side state.
  • The hero image and accent statement cell sit in a two-column row (image spans two of three columns); capability cells wrap below in a 2-3 column grid.
  • The accent statement cell uses bg-primary/text-primary-foreground for the deliberate color contrast the brief calls for.