Staaarter

Service Cards

A three-column row of service cards, each with an accent-colored icon chip, a title, a short description, and a learn-more link.

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 button dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/service-cards.json

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

Usage

The file also exports feature59Demo, 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 { Feature59, feature59Demo } from "@/components/blocks/feature/feature59";

export default function Page() {
  return <Feature59 {...feature59Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringnoneSmall label above the heading.
headingReactNodenoneSection heading.
descriptionstringnoneSupporting copy under the heading.
servicesServiceItem[]noneService cards, rendered in array order.
classNamestringnoneExtra classes for the outer section element.

Types

type ServiceItem = {
  icon: LucideIcon;
  title: string;
  description: string;
  href: string;
};

Behavior notes

  • Fully static server component, no client-side state.
  • The "Learn more" link is a real anchor via `Button`'s `render` prop; it points at whatever `href` is supplied and does not submit or fetch anything on its own.