Staaarter

Stat-Backed Feature Rows

A feature section of hairline-ruled rows, each pairing a large numeric figure with a title and supporting copy so every capability is framed by the number it earns rather than a generic checkmark.

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

npx shadcn add https://staaarter.com/r/stat-backed-feature-rows.json

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

Usage

The file also exports feature37Demo, 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 { Feature37, feature37Demo } from "@/components/blocks/feature/feature37";

export default function Page() {
  return <Feature37 {...feature37Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringundefinedSmall label above the heading; omitted entirely when unset.
headingReactNodenoneSection heading.
descriptionstringundefinedSupporting copy under the heading.
rowsStatFeatureRow[]noneStat, title, and description rows rendered in array order.
classNamestringundefinedExtra classes for the outer section element.

Types

type StatFeatureRow = {
  stat: string;
  title: string;
  description: string;
};

Behavior notes

  • Plain server component with no interactivity; the entire list is static markup.
  • The stat column is a fixed-width figure on larger screens and stacks above the title/description on mobile.