Skip to main content
Clever Ops

Impact Stat Band

A nonprofit impact band in React, concrete figures like 1,240 meals counting up once in tabular numerals over warm sentence labels, closed by an audited source line. Tailwind-set.

Preview & code

Loading Impact Stat Band preview

Installation

pnpm dlx shadcn@latest add @cleverui/impact-stat-band

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { ImpactStatBand } from '@/components/blocks/impact-stat-band'
Exampletsx
'use client'

import { ImpactStatBand } from '@/components/blocks/impact-stat-band'

export default function ImpactStatBandDemo() {
  return (
    <div className="flex min-h-[420px] items-center">
      <ImpactStatBand
        heading="What your support did last year"
        intro="Real numbers from real programs, counted, audited and owned."
        stats={[
          {
            value: 1240,
            label: 'meals shared from our community kitchen',
          },
          {
            value: 87,
            label: 'families housed through winter',
          },
          {
            value: 312,
            label: 'school bags packed for term one',
          },
          {
            value: 48,
            suffix: '%',
            label: 'of guests who returned for a second year of support',
          },
        ]}
        duration={1.8}
        sourceLine="Figures from our 2025 annual report, independently audited. The full report is free on our website."
      />
    </div>
  )
}

API reference

ImpactStatBand accepts the following props.

PropTypeDefaultDescription
headingstring'What your support did last year'warm humanist sans, mission-led, never 'Our metrics'
introstringone warm sentence
stats*ImpactStat[]3–5 figures
durationnumber1.8seconds for the single gentle count-up
sourceLinestring'Figures from our 2025 annual report, independently audited. The full report is free on our website.'audited provenance as genuine copy

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface ImpactStat {
  value: number
  prefix?: string
  suffix?: string
  decimals?: number
  /** concrete unit-led line, e.g. 'meals shared from our community kitchen' */
  label: string
}

Frequently asked questions

How do I install the Impact Stat Band component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/impact-stat-band`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Impact Stat Band require?

Impact Stat Band uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Impact Stat Band to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services