Skip to content
shadcn.io

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.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

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.

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.

Why is there no line under the strip?

The strip ends the block. The next section draws its own top rule along the strip's foot, so a line here would double it, and the column has no bottom padding for the same reason.

  • Pro

    One 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

    A 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

    An 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 proof

    A 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.