{"schemaVersion":1,"id":"det-numberflow","name":"NumberFlow","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/det-numberflow/","officialUrl":"https://number-flow.barvian.me/","isCatalog":false,"description":"A smooth number-animation component for React, Vue, Svelte, and JS/TS. Useful for prices, counters, statistics, and timers, with reduced-motion support.","tasks":["Animate dashboard metrics","Smoothly update a price or counter"],"categoryIds":["frontend","motion"],"subcategoryIds":["frontend.components","motion.ui","motion.web"],"tags":["React","Vue","Svelte","JavaScript","Number animation"],"aliases":[],"platforms":[],"stack":["React","Vue","Svelte","JavaScript"],"compatibility":null,"pricing":"free","freeUsage":"The MIT library is entirely free, including commercial use.","paidUsage":null,"license":"MIT; retain copyright/license notices.","selectionGuide":{"purpose":"Animate dashboard metrics","chooseWhen":["Animate dashboard metrics","Smoothly update a price or counter"],"considerInstead":[],"requirements":["Set digit limits when constructing the timer component."],"limitations":["Terms of use: MIT; retain copyright/license notices.","Changing digits is not reactive; RTL, non-Latin digits, and scientific/engineering notation are unsupported."],"faq":[{"question":"What can you use for free in NumberFlow?","answer":"The MIT library is entirely free, including commercial use."},{"question":"What additional costs might arise with NumberFlow?","answer":"No mandatory paid course is stated for integrating the component. Number-format limitations are described separately in the documentation."},{"question":"What terms of use matter for NumberFlow?","answer":"MIT; retain copyright/license notices."},{"question":"Which environment can you use NumberFlow in?","answer":"Tech stack: React, Vue, Svelte, JavaScript."},{"question":"How do you get started with NumberFlow?","answer":"For the task “Animate dashboard metrics”: choose one component for the task; study its example and dependencies before adding it to the project. Replace the sample text and data with your own; connect actions and states to the screen's logic. Test the element within the page, then match its styling to the surrounding blocks."},{"question":"How can a timer transition from 59→00 be animated correctly?","answer":"The documentation offers digits settings with maximum values for individual timer digits. The digits configuration is not reactive, so set it when constructing the component; changes to value animate separately. The component respects reduced motion by default."}],"related":[],"sources":["https://number-flow.barvian.me/","https://github.com/barvian/number-flow"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["A screen with your own content and a list of states for the selected element.","The project's visual style: colors, typography, dimensions, and mobile behavior.","From the tech stack mentioned on this page, choose an option that suits your project: React, Vue, Svelte, JavaScript; check version compatibility in the documentation."],"steps":["For the task “Animate dashboard metrics”: choose one component for the task; study its example and dependencies before adding it to the project.","Replace the sample text and data with your own; connect actions and states to the screen's logic.","Test the element within the page, then match its styling to the surrounding blocks."],"checks":["The keyboard, focus indicators, and labels let users complete the action; empty, error, and populated states are clear.","Nothing is clipped on narrow screens; animation does not hinder reading and respects reduced motion."],"goal":"Example workflow with NumberFlow: Animate dashboard metrics."},"sources":["https://number-flow.barvian.me/","https://github.com/barvian/number-flow"],"checkedAt":"2026-10-03","reviewScope":"The purpose and published terms have been reviewed against the cited primary sources. This page does not confirm that the product was run or tested in every environment.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Tool","kind":"library","pricingNote":"The MIT library is entirely free, including commercial use.","notes":null,"labeledSources":[{"url":"https://number-flow.barvian.me/","label":"Official website"},{"url":"https://github.com/barvian/number-flow","label":"Source code"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}