Socket
Book a DemoInstallSign in
Socket

react-flip-numberss

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flip-numberss

react flip your numbers

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

npm version npm downloads npm npm

Make number animation looks sexy :clap:

Features:

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

Install

$ yarn add react-flip-numbers
or
$ npm install react-flip-numbers -S

Flip your number

Quick start

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

export default () => {
    return <FlipNumbers
        height="12px"
        width="12px"
        color="red"
        background="white"
        play
        numbers="12345"
        numberStyle={{ color: "black" }}
    />;
}

API

PropTypeRequiredDescription
numbersstring
nonNumberStylestringCss inline style for not number eg , : .
numberStylestringCss inline style for number
heightnumberIndividual number height
widthnumberIndividual number width
colorstringNumber color
backgroundstringBackground color
perspectivenumberCss 3D transition perspective
durationSecondsnumber
delaySecondsnumber
playbooleanStart the animation

Keywords

react

FAQs

Package last updated on 10 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts