Tapas UI
Esc
  • IntroductionGetting startedWhat Tapas UI is and where to start.
  • InstallationGetting startedSet up shadcn/ui and add your first section.
  • CLI & AI agentsGetting startedThe shadcn CLI, the @tapas namespace, the MCP server and AI prompts.
  • TemplatesGetting startedWhole pages built from sections, installed with one command.
  • Demo sitesGetting startedThree fictional sites built only from Tapas sections.
  • ThemingCustomizationHow sections pick up your colors and radius.
  • ColorsCustomizationEvery CSS variable sections read, what it is for and where it is used.
  • Dark modeCustomizationSections follow your .dark variables.
  • MotionCustomizationPlain and motion versions, reduced motion and pause controls.
  • AccessibilityCustomizationWhat every section guarantees.
  • Waitlist formsGuidesPost signups to your own API route and store them.
  • Checkout linksGuidesPoint pricing buttons at Stripe payment links or any URL.
Menu
Browse the docs

DocsProof and conversion

Number ticker

A row of big numbers in one panel, with labels.

Preview

Version
Preview theme color
More themes

Each digit is a wheel that rolls to its value with a spring, one after another, when the row scrolls into view. A row already on screen when the page loads stays still. With reduced motion turned on, it renders the plain layout.

Launch week, in numbers

Sample data.

Waitlist signups (sample)
1,280
Visitor to signup (sample)
38.5%
Checkouts (sample)
412
Days from idea to launch (sample)
6

Launch week, in numbers

Sample data.

Waitlist signups (sample)
1,280
Visitor to signup (sample)
38.5%
Checkouts (sample)
412
Days from idea to launch (sample)
6

Installation

Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.

Usage

import { NumberTicker } from "@/components/custom/number-ticker/number-ticker";

<NumberTicker
  title="Launch week, in numbers"
  stats={[
    { value: 1280, label: "Waitlist signups" },
    { value: 38.5, label: "Visitor to signup", suffix: "%", decimals: 1 },
  ]}
/>
import { NumberTickerMotion } from "@/components/custom/number-ticker/number-ticker-motion";

<NumberTickerMotion stats={stats} />

Props

PropTypeDefaultDescription
stats* (required){ value; label; prefix?; suffix?; decimals? }[]–2 to 4 read best. Use real numbers.
title / descriptionstring–Heading (h2) and line under it.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
stats* (required){ value; label; prefix?; suffix?; decimals? }[]–2 to 4 read best. Use real numbers.
title / descriptionstring–Heading (h2) and line under it.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • A description list: each label is the term and the number its value.
  • Numbers format with a fixed locale, so server and browser match.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.