shadcn.io is not affiliated with official shadcn/ui
Metric Hero Strip Logos Block for React
A giant static member count for a loyalty platform under a centred header with two buttons, then a band of three secondary figures and a closing strip of eight customer wordmarks.
Installation
Overview
A metric hero strip for React with Base UI. A centred header, "Rewards members actually redeem" with one sentence, carries both of the block's actions: a Shine Button and an outline button. Under it the page's biggest figure, 2.4M members, sits at display size with what it counts. Two bands follow, each drawing its top rule between the page's rails with + marks at both ends: a list of three secondary figures between hairlines (brands, daily redemptions, countries), and a closing strip of eight customer wordmarks in cells that share their hairlines, which ends the block. The figures stack one per row on a phone and the strip is two across by four down, four across from sm and one row from xl. Built from Guides, Shine Button, Button and Lucide icons, with a CSS transition for the entrance and your theme's tokens for every colour. Made for a scale-proof band under a hero, where the number does the talking and the logos back it up.
FAQ
How do I change the figures?
The big number is written in the markup, in a bdi element so a right-to-left layout keeps "2.4M" in reading order. The three secondary figures are FIGURES at the top of the file: each entry is a label and a value. Each is a term and its value in one description list, with the label under the number, so a screen reader hears "Brands running a program, 1,800".
Why doesn't the number count up?
Because this block's number is meant to read at once: it sits near the top of a page, and a count that is still rolling when someone glances at it shows the wrong figure. If you want a number that rolls, use the animated counter block, which counts once when it scrolls into view and shows its final value with reduced motion.
Where do the buttons go?
Both are links (href="#"): point See the programs at your product page and Talk to sales at your contact form. See the programs is a Shine Button, the block's one primary control, so a band of light sweeps across it once on hover and keyboard focus.
Each button renders the link it's given with render, with nativeButton={false}.
How do I change the customers?
Edit CUSTOMERS: each entry is a name, an icon (any Lucide icon), a lettering and a mark. Keep it to eight so every row of the strip is full, or any number that divides by 2 and by 4. The names are fictional placeholders for your own customers, and each turns to the text colour on hover.
How does it fit on a phone?
The header stacks, the buttons wrap onto separate rows when they do not fit side by side, and the number steps down from text-8xl to text-7xl. The three figures take a row each, the label at the start and the value at the end, and the strip is two across. Nothing scrolls sideways at 320 pixels.
Related
- Pro
Animated Counter Logos
MetricsOne big count that rolls up once when it scrolls into view, for a meal-kit service that sells to employers, with a closing strip of six employer wordmarks.
- Pro
A benchmark for a streaming-analytics tool: three tiles that set the product against the industry average with a large figure and two bars each, a header row with two buttons, and a closing strip of eight wordmarks.
- Pro
Growth Line Metric Logos
MetricsA team count with a hand-drawn growth line over eight quarters and a last-quarter chip, in an inset frame for an energy-monitoring tool, with six customer wordmarks closing the panel.
- Pro
A start-aligned proof block for a payroll tool: a band of four figures between two hairlines, then twelve customer wordmarks as an open wall with no lines of its own.
- Pro
Metric Split Logos
MetricsAn oversized figure and two buttons at the start, a column of six customer wordmarks at the end past a divider, for a dependency-graph product.
- Pro
Centered Logo Cloud Hero
Logos and social proofA compact centered hero for a planning tool: an announcement link, two calls to action and a trusted-by band across the column of eight customer wordmarks in cells that share their hairlines.