shadcn.io is not affiliated with official shadcn/ui
Statement Metric Hero Logos Block for React
A count written as one display-size sentence for a referral-program tool, its two figures marked by a highlighter, with one Shine Button and a tray of six customer wordmarks.
Installation
Overview
A statement metric for React with Base UI. The count is a sentence, "12,000 teams in 60 countries run on Clovercote", set centred at display size and as the block's one heading. A highlighter draws across each of the two figures once when the page loads, in the text colour at 12% so the primary colour stays on the button. One Shine Button follows the statement. Under it a tray holds six customer wordmarks: a tinted shell with + marks on its corners around a raised panel, the panel light on a light page and dark on a dark one, with the wordmarks in cells that share their hairlines, three across by two from sm and two across by three on a phone. Built from Highlight Text, Frame, Guides, Shine Button and Lucide icons, with CSS for the entrance and your theme's tokens for every colour. Made for a landing page that wants its scale proof to read as a headline rather than a stat card.
FAQ
How do I change the figures in the sentence?
Edit the heading: each figure is a Highlight Text with its text, and the words between are plain text. The figures sit in bdi elements so a right-to-left layout keeps "12,000" and "60" in reading order inside the sentence. Change delay on each to stagger the marks, or remove the Highlight Text from one to mark only the other.
Why is the marker grey and not the primary colour?
The primary colour marks one action per block, here the Shine Button. The marker is the text colour at 12% (MARKER at the top of the file), so it reads as a highlighter on any theme without competing with the button, and the text on it stays at full contrast. Pass any other CSS colour as highlightColor to change it.
Where does the button go?
It is a link (href="#"): point it at your customer stories or your pricing. It is a Shine Button, so a band of light sweeps across it once on hover and keyboard focus.
The button renders the link it's given with render, with nativeButton={false}.
What happens with reduced motion?
The highlighter is simply there, already drawn across both figures, and the section's entrance transition is off. A visitor without script sees the marks too. The text never depends on the animation: the sentence reads the same with or without the marker.
How do I change the customers in the tray?
Edit CUSTOMERS: each entry is a name, an icon (any Lucide icon), a lettering and a mark. Keep it to six so every row of the tray is full at every width (two across, then three across). The names are fictional placeholders for your own customers, and each turns to the text colour on hover.
Related
- 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
Metric Hero Strip Logos
MetricsA 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.
- 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
One flowing sentence for an accessibility-audit tool with five customer wordmarks set inline between its words, in a quiet strip with no lines but the page's top rule.
- Pro
Inset Tray Strip Logos
StripsA tray strip for a paint-matching product: an outline badge and six linked customer wordmarks in two rows of three, inside a tinted shell that holds a lighter panel.
- Pro
Ring Chart Metric Logos
MetricsA retention ring for an expense-report tool in a framed figure beside the claim and three supporting facts, with a closing strip of six customer wordmarks.