Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/blankeos/solid-number-flow
- Owner: Blankeos
- License: mit
- Created: 2024-10-16T21:17:36.000Z (20 days ago)
- Default Branch: main
- Last Pushed: 2024-10-22T13:46:27.000Z (15 days ago)
- Last Synced: 2024-10-29T09:05:14.226Z (8 days ago)
- Topics: number-animation, number-flow, number-format, slot-machine, solid-js, solidjs
- Language: TypeScript
- Homepage: https://solid-number-flow.pages.dev
- Size: 542 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# solid-number-flow
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
>
)
}```