Stats Strip

Tailwind stats strip of centered value and label cells split by hairlines, two columns on mobile and four on desktop. Shows traction numbers on landing pages.

src/registry/ui/stats-strip.tsx/r/stats-strip.json

Installation#

bash
npx shadcn@latest add @minidev/stats-strip

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/stats-strip.json

Usage#

tsx
import { StatsStrip } from "@/components/ui/stats-strip"

export function Example() {
  return (
    <StatsStrip stats={[{ label: "Uptime", value: "99.99%" }, { label: "Latency", value: "42ms" }, { label: "Regions", value: "12" }, { label: "NPS", value: "72" }]} />
  )
}

API reference#

StatsStrip props
PropTypeDefault
statsStat[]SAMPLE_STATS
classNamestring-

Examples#

All Landing page sections for React and Tailwind

Learn more