Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blankeos/solid-number-flow

🌊 A SolidJS component to transition, format, and localize numbers. Forked from @barvian/number-flow.
https://github.com/blankeos/solid-number-flow

number-animation number-flow number-format slot-machine solid-js solidjs

Last synced: 4 days ago
JSON representation

🌊 A SolidJS component to transition, format, and localize numbers. Forked from @barvian/number-flow.

Awesome Lists containing this project

README

        


solid-number-flow

# solid-number-flow


Demo


Bun

NPM Downloads

NPM License
NPM Bundle Size

A SolidJS component to transition, format, and localize numbers. Forked from [@barvian/number-flow](https://github.com/barvian/number-flow).

## Quick start

Install it:

```bash
npm i solid-number-flow
# or
yarn add solid-number-flow
# or
pnpm add solid-number-flow
# or
bun add solid-number-flow
```

Use it:

```tsx
import solid-number-flow from 'solid-number-flow'

export default function Page() {
const [value, setValue] = createSignal(398.43);

return (
<>
setValue(Math.random() * 1000)}>Random

>
)
}

```