Staaarter

Principles Card Grid

Principles section with a header (eyebrow, heading, description) and a three-column grid of six bordered cards, each pairing a circular icon badge with a title and description.

By Staaarter Team
About
Docs
Live preview

Docs

Installation

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

npx shadcn add https://staaarter.com/r/principles-card-grid.json

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

Usage

The file also exports about64Demo, 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 { About64, about64Demo } from "@/components/blocks/about/about64";

export default function Page() {
  return <About64 {...about64Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringundefinedSmall label above the heading.
headingstringnoneSection heading.
descriptionstringundefinedSupporting copy under the heading.
principlesPrinciple[]noneGrid of bordered cards, each with an icon, title, and description.
classNamestringnoneExtra classes for the outer section element.

Types

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

Behavior notes

  • Unlike About48's numbered principles list with a sticky image column, About64 has no image and no numbering, every principle instead gets its own bordered card with a circular icon badge in a three-column grid.
  • The icon badge is rounded-full rather than About16's rounded-lg square badge, and About64 is designed for a fuller set of items (six in the demo) versus About16's fixed three-pillar row.
  • Cards wrap responsively at sm (two columns) before reaching three at lg, the same breakpoint pattern as About7's team card grid, but each card here holds an icon rather than an avatar.