Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.19 KB

README_v1.md

File metadata and controls

46 lines (29 loc) · 1.19 KB

React UseAnimations Icons

npm version npm downloads

What is react-useanimations?

React-useanimations is a collection of free animated open source icons for React.js.

Collection

https://react.useanimations.com and play with examples.

Installation

Using Yarn:

yarn add react-useanimations

or using NPM:

npm install react-useanimations

Usage

This is README for v1, consider upgrading to v2, it will improve your performance - react-useanimations@v1

Basic Usage

import React from 'react';
import UseAnimations from 'react-useanimations';

const App = () => <UseAnimations animationKey="github" />;

export default App;

Icons can be configured with inline props:

<UseAnimations animationKey="alert" size={56} style={{ padding: 100 }} />