Skip to content
WingoUI
ComponentsTemplatesDocsPricingAI agentsBlogChangelogContact
Components
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCountry SelectCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerEmail InputEmoji PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime PickerTimezone SelectTree Select
Forms
Address InputBooking WidgetCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text EditorSchema Builder
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverShare DialogSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSetup ChecklistSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadar chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselCSV ViewerDOCX EditorDOCX ViewerExcel ViewerFile SystemImage compareImage CropperImage GalleryImage LightboxLocation MapPDF ViewerPowerPoint ViewerQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadChat WidgetConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Background PatternGravity LettersMarqueeTerminalText AnimateText Rotate
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Marketing Sections
App Download SectionBlog Cards SectionCTA SectionFAQ SectionFeature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing FooterMarketing HeaderMarketing SectionNewsletter SectionPricing SectionStats SectionSteps SectionTeam SectionTestimonials SectionTimeline SectionVideo Section
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAPI Keys PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowOrder History PagePost Listing WizardPricing PageProfile PageRegister PageSettings PageUsers Admin Page
Templates
About PageAcademy PageAccessibility PageAffiliate PageAgency PageAI Product PageAppointment Booking PageBlog PageBlog Post PageBug Bounty PageCareers PageChangelog PageCommunity PageCompare PageContact PageCustomer Story PageCustomers PageDemo Booking PageDevelopers PageDocs Home PageDownload PageEnterprise PageEvents PageExperts PageFAQ PageFeature PageGlossary PageHelp Article PageHelp Center PageHome Services PageImpact PageIntegration Detail PageIntegrations PageJob Detail PageLanding PageLaunch PageLegal PageManifesto PagePortfolio PagePress PageProduct Tour PagePromo PageReal Estate PageReferral PageResearch Report PageRestaurant PageRoadmap PageROI Calculator PageSecurity PageSolutions PageStartups PageStatus PageStorefront PageSwitch PageTemplate Gallery PageTravel PageWaitlist PageYear in Review Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryTheme

Marketing Sections

Stats Section

Marketing Sections

Stats Section React block for Tailwind CSS v4

Pricing SectionSteps Section
Live props
Content
eyebrow
title
description
Appearance
variant
size
tone
background
divider
Layout
align
spacing
Behavior
countUp
duration1.2s
locale
Code
import { StatsSection } from "@/components/blocks/stats-section"

<StatsSection />
  1. Home
  2. Components
  3. Marketing Sections
  4. Stats Section
Pro

Stats Section React block for Tailwind CSS v4

v1.0.0·Added in 1.6.0

A React stats section of big numbers with labels: plain figures, cards, hairline columns, an inverted band or a split grid, rolling up on view.

The server and screenshots render the final numbers. The first time the list scrolls into view on the client, each number drops to zero and its digits roll up to the value (off under reduced motion or with countUp off). Numbers are formatted with the locale's group and decimal marks. Four stats sit two by two on phones and in one row from 1024px; each label is a <dt> read before its value.

Stats Section is a Pro React block in the React marketing sections category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add stats-section, together with Marketing Section, Animated Counter, Motion presets, Tones and UIProvider.

Built with

The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.

  • Marketing Sectionmarketing-section

Add to a project

Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup

npx wingo-ui@latest add stats-section

Stats Section is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans or unlock it free with an account

Usage

Import StatsSection from @/components/blocks/stats-section.

// app/(marketing)/about/page.tsx
import { StatsSection } from "@/components/blocks/stats-section"

export default function AboutPage() {
  return (
    <StatsSection
      variant="cards"
      title="Acme in numbers"
      stats={[
        { value: 12000, suffix: "+", label: "Teams" },
        { value: 99.99, decimals: 2, suffix: "%", label: "Uptime" },
        { value: 38, suffix: "%", label: "Faster delivery" },
      ]}
    />
  )
}

Props

  • eyebrowdefault ""
    ReactNode

    The small uppercase line over the title.

  • titledefault "Small teams, big numbers"
    ReactNode

    The section title; an empty string hides it.

  • descriptiondefault "Acme keeps 12,000 teams in sync, from the first plan to the last release note."
    ReactNode

    The paragraph under the title.

  • actions
    ReactNode

    Buttons under the description.

  • statsdefault "STATS_SECTION_SAMPLE"
    StatsSectionItem[]

    { value, decimals?, prefix?, suffix?, label, description? }; up to four per row.

  • variantdefault "plain"
    "plain" | "cards" | "divided" | "band" | "split"

    Bare numbers, raised cards, numbers under a hairline, band (an inverted full-width strip with huge numbers and short labels; descriptions are left out, a non-neutral tone draws an accent bar) or split (the heading on the start side, a two by two grid of figures beside it, stacked on phones; always start aligned).

  • aligndefault "center"
    "start" | "center"

    Where the heading and each stat sit.

  • sizedefault "lg"
    "md" | "lg"

    Number size: md 26 to 40px, lg 30 to 56px.

  • tonedefault "neutral"
    "neutral" | "brand" | "success" | "warning" | "danger" | "info"

    The color of the numbers; neutral is the text color.

  • countUpdefault true
    boolean

    Rolls the numbers up once when they first scroll into view.

  • durationdefault 1.2
    number

    Seconds each digit takes to settle.

  • localedefault "en-US"
    string

    Number formatting (group and decimal marks); default the UIProvider's locale, else en-US.

  • backgrounddefault "none"
    "none" | "muted"

    A gray well behind the section.

  • spacingdefault "md"
    "none" | "sm" | "md" | "lg"

    Vertical padding, as in MarketingSection.

  • dividerdefault false
    boolean

    A hairline above the section.

  • className
    string

    Classes for the <section>.

  • classNames
    Partial<Record<StatsSectionSlot, string>>

    Classes for container, list, item, value, label and description.

Parts

  • STATS_SECTION_SAMPLE

    constant

    Four sample stats: 12,000+ teams, 99.99% uptime, 4.9/5 rating, 38% faster delivery.

  • StatsSectionItem

    type

    One stat: value, decimals, prefix, suffix, label and description.

  • StatsSectionProps

    type

    Props of StatsSection.

Examples

Open

Cards in a gray well

Raised cards on the muted band, numbers in the brand orange.

Open

Divided, start aligned

Numbers under hairlines, read left to right, with a short intro.

Open

Three stats, smaller

Three columns at the medium size, no heading.

Open

German number format

locale de-DE writes 12.000 and 99,99.

Open

Inverted band

Huge numbers on a full-width strip in the primary color, with short labels.

Open

Split with the heading

The heading on the left and four figures in a two by two grid beside it.

Dependencies

marketing-sectionanimated-countermotiontonesui-config

Files

  • components/blocks/stats-section.tsx

FAQ

Is the React Stats Section block free?

The preview, props and docs are free; copying the source needs a Pro plan. See plans.

How do I install Stats Section?

Run npx wingo-ui@latest add stats-section. It also adds the Wingo UI items it builds on (Marketing Section, Animated Counter, Motion presets, Tones and UIProvider). With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/stats-section.

How does Stats Section behave on phones?

Four stats sit two by two on phones and in one row from 1024px; each label is a <dt> read before its value.

See also

Marketing SectionAnimated CounterStat CardHero Section

Used in

About PageAffiliate PageCommunity PageCustomer Story PageCustomers PageEnterprise PageFeature PageLanding PageLaunch PageSolutions PageTravel Page

More React marketing sections

Steps SectionTeam SectionTestimonials SectionTimeline SectionVideo SectionApp Download Section
All 20 React marketing sections

New components by email

New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.

PreviousPricing SectionNext Steps Section