Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/beekai-oss/react-flip-numbers

🎰 Flip your numbers in 3D
https://github.com/beekai-oss/react-flip-numbers

animation counter flip number number-counter react reactjs

Last synced: 2 days ago
JSON representation

🎰 Flip your numbers in 3D

Awesome Lists containing this project

README

        

# React Flip Numbers

[![Coverage Status](https://coveralls.io/repos/github/bluebill1049/react-flip-numbers/badge.svg?branch=master)](https://coveralls.io/github/bluebill1049/react-flip-numbers?branch=master)
[![npm version](https://img.shields.io/npm/v/react-flip-numbers.svg?style=flat-square)](https://www.npmjs.com/package/react-flip-numbers)
[![npm downloads](https://img.shields.io/npm/dm/react-flip-numbers.svg?style=flat-square)](https://www.npmjs.com/package/react-flip-numbers)
[![npm](https://img.shields.io/npm/dt/react-flip-numbers.svg?style=flat-square)](https://www.npmjs.com/package/react-flip-numbers)
[![npm](https://badgen.net/bundlephobia/minzip/react-flip-numbers)](https://badgen.net/bundlephobia/minzip/react-flip-numbers)

> **Make number animation looks sexy** :clap:

- Flip your numbers in 3D space
- Super easy to use

## Install

npm install react-flip-numbers -S


react flip numbers

## Quickstart

```jsx
import react from 'react';
import FlipNumbers from 'react-flip-numbers';

export default () => {
return ;
};
```

## API

| Prop | Type | Required | Description |
| :--------------- | :------ | :------: | :--------------------------------------- |
| `numbers` | string | ✓ | |
| `play` | boolean | ✓ | Start the animation | |
| `height` | number | ✓ | Individual number height |
| `width` | number | ✓ | Individual number width |
| `color` | string | ✓ | Number color |
| `background` | string | | Background color |
| `perspective` | number | | CSS 3D transition perspective |
| `nonNumberStyle` | string | | CSS inline style for not number eg , : . |
| `numberStyle` | string | | CSS inline style for number |
| `duration` | number | | |
| `delay` | number | | |

## By the makers of BEEKAI

We also make [BEEKAI](https://www.beekai.com/). Build the next-generation forms with modern technology and best in class user experience and accessibility.