The Honest Numbers
- Clicks
- 12,800 a day
That's how often we hit Enter.
- Average age
- 32.8 years
Twenty, at heart.
- Monday blues
- 68.4 percent
So 31.6% of us actually like Mondays?
- Lunch spots on our list
- 32 places
Harder to decide than any client brief.
- Morning people
- 10 percent
Pretty sure everyone but me is a night owl.
- Thank-yous a week
- 100,000 times
We're a grateful bunch.
GSAP Odometer Count-Up with Rolling Digits
Six stats separated only by thin lines and vertical labels. Each digit spins like an odometer before clicking into place, while a brand-colored line fills in at the same moment. Built with GSAP and ScrollTrigger.
- Built with
- Published
Build this with an AI assistant
A prompt that bundles the reference URL and the key implementation points. Copy it and paste it straight into your AI assistant.
Recreate only the motion, feel, and timing of the reference page in my current project. Don't copy the site's look, images, copy, or branding, and don't copy the code line for line. Motion reference URL: https://tane-be.co.jp/animation/en/motion/37/ Technology guide: JavaScript / GSAP Requirements (animation): In the current project, recreate a count-up where each digit of a stat rolls like a drum and lands on its final value, using GSAP. Follow the reference URL for the look and pacing (layout and easing). Don't reuse its numbers, labels, or branding — dummy content is fine. Requirements: 1. Don't swap text. Give each digit a vertical 0–9 strip and move it with yPercent (odometer style). Commas, decimal points, and units stay fixed. 2. Fewer turns for digits on the left, more on the right (e.g. 2–5 full turns). The final position is -100 × steps / row count — don't round it. 3. Spin fast and decelerate with power4.out, then step through the last two cells one at a time with back.out so each digit clicks into place. Digits land from right to left. 4. Apply a vertical motion blur with an SVG feGaussianBlur (stdDeviation "0 N") only while spinning, easing it to 0 with the speed. Remove the filter when done. 5. Reserve the final value's width up front (tabular numbers plus the final text layered underneath) so the unit never shifts during the spin. 6. A line along the top of each item finishes growing exactly as its number lands. Labels, units, and notes only fade. 7. The grid goes 1 → 2 → 3 columns. On desktop, offset each column to form a staircase. Number size follows the container width (cqi). 8. With JavaScript disabled, show the final values with no flicker before load. Screen readers get only the final value; with prefers-reduced-motion, show everything static. Implementation notes: - Don't take or reuse images, text, or logos from the reference page; use your own assets, placeholders, or any copy - Prefer the existing HTML, CSS, naming, directory structure, and libraries; don't add unnecessary dependencies - Support both desktop and mobile; respect focus-visible and prefers-reduced-motion where relevant - Keep motion on transform and opacity; avoid always-on listeners or rAF loops - Keep changes minimal, and finish with a short report of the changed files and what you checked
Where to use it
- Company stats and track-record sections
- Key figures on service and product pages
- Company facts on recruiting sites
- Annual reports and brand microsites
How it works
- Six stats sit in a grid; on desktop, each column is offset to form a staircase
- Astro renders every digit strip up front — the JavaScript never creates elements
- Turns scale from two on the leftmost digit to five on the rightmost, starting fast with power4.out and slowing down
- The last two cells step in one at a time with back.out, so digits land one by one from right to left
- A vertical SVG blur applies only while spinning, fading out as the digits slow down before it's removed
- The final value's width is always reserved, so commas, decimal points, and units never move
- A line along the top of each stat finishes filling just as its number lands, doubling as a progress cue
- ScrollTrigger detects each stat entering the viewport and plays it once
Make it your own
- Labels, final values, units, and notes
- Number of grid columns and the staircase offset
- Number of turns and deceleration time
- Line color and number size
Before you ship
- Mobile & touch
- Shows a single column from 320px, switching to two columns at 768px and three at 1024px. Numbers scale with the content width using container query units (cqi).
- Browser support
- Uses CSS Grid, container query units (cqi), transform, and an SVG filter applied with CSS filter: url(). Targets Chrome, Edge, Firefox, and Safari — test on iOS Safari before launch to confirm the landing, the vertical labels, and the blur removal.
- Performance (load: Low)
- Seventeen digit strips animate once as they enter the viewport. The blur covers only the number area for about 1.4 seconds of spinning and is then removed. No infinite loops or continuous rendering.
- Accessibility
- Stats are marked up with dl, dt, and dd. The moving digits and lines are hidden with aria-hidden, and a permanent text version of each final value is provided for screen readers. No aria-live is used.
- Reduced motion
- With prefers-reduced-motion, the animation is skipped and the final numbers and lines are shown in their finished state — even if the setting changes mid-playback.
FAQ
How do the individual digits spin?
Astro outputs a vertical 0–9 strip for every digit, and GSAP moves it with yPercent to the final number's position. Separators stay fixed.
Do the in-between values always count upward?
No. Each digit spins independently, so the combined number isn't strictly increasing mid-spin. The effect is designed to make the final value land with impact.
Won't changing digit widths shake the layout?
Tabular figures plus a reserved width for the final value keep digits, commas, and units locked in place.
Does it replay every time I scroll past?
No. Each stat plays once when it first enters the viewport; scrolling back and forth won't repeat it.
Does it work with JavaScript disabled?
Yes. The final numbers and lines are rendered in the initial HTML and CSS.
Does it respect reduced-motion settings?
Yes. The animation is skipped and the finished state is shown as is.
How is the motion blur made?
An SVG filter output by Astro blurs along the vertical axis only. Its strength drops as the spin slows, and once it reaches 0 the CSS filter is removed.