Command Palette
Search for a command to run...
Loading component...
Skiper Number flow
Advanced number flow with formatting options and smooth digit transitions. Features customizable number formatting, smooth flow animations, and configurable display options.
Dependencies
Interaction Type
Click shuffle to see different formats | |
Observe smooth flow animations |
CLI UNAVAILABLE
pro component, try copying the source code from top right corner
How to use
import { SkiperNumberFlow } from "@/components/v1/skiper69"; const BasicExample = () => { return ( <div className="flex h-screen w-full items-center justify-center"> <SkiperNumberFlow value={12345} /> </div> ); };
With state values
const StateExample = () => { const [value, setValue] = useState(19348.43); return ( <div className="flex h-screen w-full items-center justify-center"> <SkiperNumberFlow value={value} prefix="$" format="currency" className="text-6xl font-semibold" /> <button onClick={() => setValue(value + 1)}>Update Value</button> </div> ); };
Props | Description |
---|---|
value | Number to display |
prefix | Text before number |
suffix | Text after number |
format | Number formatting type |
locale | Locale for formatting |
minimumFractionDigits | Minimum decimal places |
maximumFractionDigits | Maximum decimal places |
className | Additional CSS classes |
format and local type
type FormatType = "number" | "currency" | "percentage" | "decimal"; type LocaleType = | "en-US" | "de-DE" | "fr-FR" | "es-ES" | "it-IT" | "ja-JP" | "ko-KR" | "zh-CN" | "zh-TW";
Source code
Click on the top right to view the source code
Keep in mind
Most components here are recreations of the best out there. I don't claim to be the original creator. This is my attempt to reverse-engineer, replicate, and often add a few extra features. I've tried to credit everyone, but if I missed something, let me know.
Contact
Additionlly, if you find any bug or issue, feel free toDrop a dm.
License & Usage:
- Free to use and modify in both personal and commercial projects.
- Attribution to Skiper UI is required when using the free version.
- No attribution required with Skiper UI Pro.