Giter Club home page Giter Club logo

react-flip-numbers's Introduction

React Flip Numbers

Coverage Status npm version npm downloads npm npm

Make number animation looks sexy ๐Ÿ‘

  • 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

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

react-flip-numbers's People

Contributors

bluebill1049 avatar dandv avatar dependabot[bot] avatar pangpang1987 avatar siriustsou avatar zsumon-zz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.