reframe/ui
reframe/ui

Command Palette

Search for a command to run...

Animated Number

$0

Installation

Install Dependencies

Copy and Paste the component

@/components/reframe-ui/animated-number.tsx

Usage

Props

NameTypeDefaultRequiredDescription
valuenumber-YesTarget numeric value to animate toward.
classNamestring-NoOptional class name for the rendered element.
springOptionsSpringOptions-NoFramer Motion spring configuration for the numeric tween.
asReact.ElementTypespanNoElement/component to render as.
© Copyright 2025. All rights reserved.Built by @thommysart