aicoolies logo
NumberFlow logo

NumberFlow

Animated number transition component for React and frameworks

Share
open-sourceOpen Source
Visit Website →

NumberFlow is a lightweight component that animates number transitions with smooth morphing effects. Numbers roll, slide, and transform between values rather than snapping instantly, adding polish to dashboards, pricing displays, counters, and financial interfaces. Available for React, Vue, Svelte, and vanilla JS with over 6,300 GitHub stars and minimal bundle impact.

NumberFlow addresses a specific UI detail that significantly impacts perceived quality: the transition between numeric values. When a price updates, a counter increments, or a metric changes, NumberFlow animates each digit independently with configurable morphing effects that make the transition feel natural rather than jarring. Individual digits roll up or down to their new value while the overall number maintains readability throughout the animation.

The component handles the edge cases that make number animation surprisingly complex: transitioning between numbers with different digit counts, animating decimal points and currency symbols correctly, maintaining alignment during transitions, and supporting both positive and negative changes with appropriate directional animation. Formatting options include locale-aware number formatting, currency display, percentage notation, and custom prefix and suffix text.

With over 6,300 GitHub stars and implementations for React, Vue, Svelte, and vanilla JavaScript, NumberFlow has become the standard solution for number animation across web frameworks. The bundle size is minimal and the animation performance uses CSS transforms for GPU acceleration, ensuring smooth transitions even on mobile devices. The component integrates naturally with dashboard frameworks, e-commerce interfaces, and any application where numeric values change dynamically.

Pricing

Free and open-source under MIT license

Platforms

React, Vue, Svelte, vanilla JS

Categories

Tags

Use Cases

Alternatives

Related Tools

OpenUI logo

OpenUI

Open-source UI generation from natural-language prompts

OpenUI is an Apache-2.0 design-to-code tool from W&B that turns natural-language interface prompts into live HTML previews and frontend code. Teams can run it locally or with Docker, connect OpenAI, Groq, LiteLLM-compatible providers, or Ollama, and export generated UI toward React, Svelte, Web Components, and related workflows. It fits rapid UI mockups where developers want editable code instead of screenshots.

open-sourceOpen SourceTelemetry

Figma MCP Server

Official remote MCP server for design-to-code and write-to-canvas Figma workflows.

Figma MCP Server is Figma’s official remote Model Context Protocol surface for design-to-code agents. It gives supported clients structured design context, variables, components, selected-frame code context, Code Connect mappings, and beta write-to-canvas tools for creating or updating native Figma frames from an MCP client while keeping the workflow tied to Figma files.

freemiumTelemetry
OpenPencil logo

OpenPencil

AI-native open-source design editor and Figma alternative

OpenPencil is an AI-native, open-source design editor for teams that want a Figma-like canvas with source-visible code and experimental AI design workflows. It is best framed as OpenPencil by the open-pencil project, separate from the same-name ZSeven-W repo, and useful for early UI prototyping, design-to-code exploration, and open-source visual editing pilots.

open-sourceOpen Source

Talk to Figma MCP

Read/write MCP bridge between AI coding agents and Figma

Talk to Figma MCP is an MIT-licensed bridge from Grab that connects Cursor, Claude Code, and other MCP-capable agents to Figma through a local MCP server, WebSocket bridge, and Figma plugin. Unlike read-only context servers, it can inspect selections, create or modify nodes, update text in bulk, and automate design operations, so teams should review permissions before enabling write access.

open-sourceOpen SourceTelemetry
Figma Context MCP logo

Figma Context MCP

MCP server that gives coding agents structured Figma context for design-to-code work

Figma Context MCP is an MCP server for giving coding agents structured access to Figma design context during implementation. Instead of copying screenshots or hand-written design specs into prompts, teams can expose layout, component, and context information to agents such as Cursor, Claude Code, and other MCP-compatible coding workflows. It is a strong design-to-code bridge for teams trying to reduce hallucinated UI details and tighten handoff between designers and AI-assisted developers.

open-sourceOpen SourceTelemetry

screenshot-to-code

Convert any screenshot or mockup into clean frontend code with AI vision.

screenshot-to-code is an open-source tool that converts screenshots, mockups, and Figma designs into clean, functional HTML, Tailwind CSS, React, or Vue code using AI vision models. Powered by GPT-4V, Claude, and Gemini, it supports video-to-code and iterative editing workflows, making it a rapid scaffolding tool for frontend developers who want to skip the pixel-translation step entirely.

open-sourceOpen Source

Used in Stacks