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

https://github.com/rbpaul2/react-number-ticker

Drop-in react component for displaying numbers with animated transitions.
https://github.com/rbpaul2/react-number-ticker

animation css3 javascript module node npm react ticker transition

Last synced: 5 months ago
JSON representation

Drop-in react component for displaying numbers with animated transitions.

Awesome Lists containing this project

README

          

# react-number-ticker

[![Travis][build-badge]][build]
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]

Drop-in react component for displaying numbers with animated transitions.

![alt text][logo]

[logo]: https://github.com/rbpaul2/react-number-ticker/raw/master/preview-react-number-ticker-1.0.0.gif "Clock Demo"

[build-badge]: https://img.shields.io/travis/user/repo/master.png?style=flat-square
[build]: https://travis-ci.org/user/repo

[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square
[npm]: https://www.npmjs.org/package/npm-package

[coveralls-badge]: https://img.shields.io/coveralls/user/repo/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/user/repo

# How to use

## In a basic html page

Include the UMD build in the `` section of your html (also includes React, CSSTransitionGroup)

```html

```

Include the CSS file (Ticker uses CSS3 transition animations when changing digits)

```html

```

Write the something like this in the body of your html:

```html



ReactDOM.render(
React.createElement(ReactNumberTicker),
document.getElementById('root')
);

```

# Use Cases

- Dynamic numbers that change with user input
- Timers
- (potentially) Sequence of words