📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

react-flip-numbers

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flip-numbers

react flip your numbers

3.0.9
latest
Source
npm
Version published
Weekly downloads
5.9K
5.66%
Maintainers
0
Weekly downloads
 
Created
Source

React Flip Numbers

Coverage Status npm version npm downloads npm npm

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

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

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

API

PropTypeRequiredDescription
numbersstring
playbooleanStart the animation
heightnumberIndividual number height
widthnumberIndividual number width
colorstringNumber color
backgroundstringBackground color
perspectivenumberCSS 3D transition perspective
nonNumberStylestringCSS inline style for not number eg , : .
numberStylestringCSS inline style for number
durationnumber
delaynumber

By the makers of BEEKAI

We also make BEEKAI. Build the next-generation forms with modern technology and best in class user experience and accessibility.

Keywords

react

FAQs

Package last updated on 17 Dec 2024

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