react-stylish-counter
v0.0.2
Published
React Stylish Counter for responsive and stylish UI
Downloads
17
Maintainers
Readme
React Stylish Counter
The library offers UI components to make the numbers on your website look beautiful.
Install
npm i react-stylish-counter
or
yarn add react-stylish-counter
Usage
import { DigitalCounter } from "react-stylish-counter";
This is a digital counter. It takes max (number) and duration (seconds) e.g. duration={2} as required props. You can also pass a style prop e.g. style={{ fontSize: "20px" }}. You can apply styling as you like.
import { AnalogCounter } from "react-stylish-counter";
This is an counter that provides animation while counting up the numbers. It takes max (number) as required prop and style as an optional prop.