Skip to main content
BlocksStatsInverted band with animated count-up numbers

shadcn/ui Stats block for Base UIInverted band with animated count-up numbers

Full-bleed bg-foreground band for shadcn/ui whose four big numbers count up from zero with requestAnimationFrame once an IntersectionObserver detects the section. Honours prefers-reduced-motion by rendering final values immediately, formats decimals, prefixes and suffixes, and uses text-background/70 for quiet labels. A high-impact proof-of-scale strip for landing pages.

Pro@shadcnpro/base/stats-section-04

Preview

Installation

Part of shadcn/ui Pro

Pro unlocks the source code and one-command install of all 439 blocks, plus the Figma kit, themes and the MCP server for your AI editor.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Inverted band with animated count-up numbers from one prompt. It is included in every Pro plan.

Copy the code

Paste it into components/blocks/stats-section-04.tsx.

components/blocks/stats-section-04.tsx

Part of shadcn/ui Pro

Pro unlocks the source code and one-command install of all 439 blocks, plus the Figma kit, themes and the MCP server for your AI editor.

Use it

Import it where you need it and update the import path to match your project.

Usage
import StatsSection04 from '@/components/blocks/stats-section-04';

export default function Page() {
  return <StatsSection04 />;
}

Overview

Inverted band with animated count-up numbers is a Pro stats block for shadcn/ui and Base UI. It is built from plain markup and Tailwind CSS, and installs as a single file you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls above the preview show each size. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
Stats
Component library
Base UI (@base-ui/react)
Also available for
Radix UI, React Aria
Built with
Plain markup and Tailwind CSS
npm packages
None
Files
components/blocks/stats-section-04.tsx
Access
Included in every plan

Frequently asked questions

Pricing, installation and Base UI details for Inverted band with animated count-up numbers.