Staaarter

AI Capabilities Feature Grid

A marketing feature-grid section for an AI product. Each card shows an icon, a title, and a short description of one capability, plus a tiny static two-bubble chat preview illustrating that capability in action.

By Staaarter Team
Chat
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/ai-capabilities-feature-grid.json

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

Usage

The file also exports chat21Demo, 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 { Chat21, chat21Demo } from "@/components/blocks/chat/chat21";

export default function Page() {
  return <Chat21 {...chat21Demo} />;
}

Props

PropTypeDefaultDescription
headingstring"Built to handle anything you throw at it"Section heading.
descriptionstring"A single assistant that writes, codes, translates, and understands images."Section subheading.
featuresChat21Feature[]noneFeature cards, each with its own mini chat-bubble preview.
classNamestringnoneExtra classes for the outer section element.

Types

export interface Chat21Bubble {
  from: "user" | "assistant";
  text: string;
}

export interface Chat21Feature {
  id: string;
  title: string;
  description: string;
  bubbles: Chat21Bubble[];
}

Behavior notes

  • Fully static Server Component, no interactivity of any kind.
  • Each card's icon comes from a fixed array of four lucide-react icons indexed by the card's position, not from a per-feature icon prop.
  • The mini chat-bubble preview inside each card is decorative sample dialogue supplied as data, not a working chat interface.
  • Uses standard section framing (px-6 py-16 sm:py-24) like the About/Careers blocks, not a bounded chat-panel card.