# rc-icon-anim

> icon-anim ui component for react

Latest version **0.0.3** (published 2016-06-15) · 0 weekly downloads

## Install

```sh
npm install rc-icon-anim
pnpm add rc-icon-anim
yarn add rc-icon-anim
bun add rc-icon-anim
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2016-06-15 |
| First published | 2016-06-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | 155259966@qq.com |
| Maintainers | jljsj33 |
| Keywords | react, react-component, react-icon-anim, icon-anim |

## Links

- npm: https://www.npmjs.com/package/rc-icon-anim
- Repository: https://github.com/react-component/icon-anim
- Issues: https://github.com/react-component/icon-anim/issues
- npm.io page: https://npm.io/package/rc-icon-anim

## Dependencies (2)

- [antd](https://npm.io/package/antd.md) ~1.3.0
- [rc-tween-one](https://npm.io/package/rc-tween-one.md) ^0.6.8

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2016-06-15
- 0.0.2 — 2016-06-15
- 0.0.1 — 2016-06-15

## README

# rc-icon-anim
---

React IconAnim Component


[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![gemnasium deps][gemnasium-image]][gemnasium-url]
[![node version][node-image]][node-url]
[![npm download][download-image]][download-url]

[npm-image]: http://img.shields.io/npm/v/rc-icon-anim.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-icon-anim
[travis-image]: https://img.shields.io/travis/react-component/icon-anim.svg?style=flat-square
[travis-url]: https://travis-ci.org/react-component/icon-anim
[coveralls-image]: https://img.shields.io/coveralls/react-component/icon-anim.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/react-component/icon-anim?branch=master
[gemnasium-image]: http://img.shields.io/gemnasium/react-component/icon-anim.svg?style=flat-square
[gemnasium-url]: https://gemnasium.com/react-component/icon-anim
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/rc-icon-anim.svg?style=flat-square
[download-url]: https://npmjs.org/package/rc-icon-anim


## Browser Support

|![IE](https://raw.github.com/alrra/browser-logos/master/internet-explorer/internet-explorer_48x48.png) | ![Chrome](https://raw.github.com/alrra/browser-logos/master/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/firefox/firefox_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/opera/opera_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/safari/safari_48x48.png)|
| --- | --- | --- | --- | --- |
| IE 9+ ✔ | Chrome 31.0+ ✔ | Firefox 31.0+ ✔ | Opera 30.0+ ✔ | Safari 7.0+ ✔ |


## Development

```
npm install
npm start
```

## Example

http://localhost:8030/examples/


online example: http://react-component.github.io/icon-anim/


## install


[![rc-icon-anim](https://nodei.co/npm/rc-icon-anim.png)](https://npmjs.org/package/rc-icon-anim)


## Usage

## IconFontAnim 
```js
import IconAnim from 'rc-icon-anim';
const IconFontAnim = IconAnim.IconFontAnim;
React.render(<IconFontAnim type="left" />, container);
```

## IconSVGAim
```js
import IconAnim from 'rc-icon-anim';
const IconSVGAnim = IconAnim.IconSVGAnim;
React.render(<IconSVGAnim type="left" />, container);
```

## API

### IconFontAnim

|    name    |   type   |   default    |      description      |
|------------|----------|--------------|-----------------------|
|  type      | string   |  null        |  antd of icon name    |
|  appear    | bool     | true         | appear anim   |
|  animType  | string / object | `leftToRight` | animate type, provide : `alpha` `leftToRight` `rightToLeft` `scale` `scaleBack` `scaleBig` `rotate` `rotateX` `rotateY` `left3dFlip` `right3dFlip` `top3dFlip` `bottom3dFlip` `rubberBand`; <br/> if the is object: { appear, enter, leave }, appear is null, with enter,[refer](https://github.com/react-component/icon-anim/blob/master/src/animTypesIconFont.jsx); |
| component  | string / React.Element | `div` | component tag |

### IconSVGAnim 

|    name    |   type   |   default    |      description      |
|------------|----------|--------------|-----------------------|
|  type      | string   |   null       | provide: [svg](https://github.com/react-component/icon-anim/blob/master/src/svg.js)  |
|  children  | React.Element |  null   | children can not coexist with the type,  Normative References [svg](https://github.com/react-component/icon-anim/blob/master/src/svg.js) |
|  appear    |  bool  | true   | appear anim  | 
|  animation | array  | null   | animType default provide: [animTypeSVG](https://github.com/react-component/icon-anim/blob/master/src/animTypeSVG.js), is null we will use [`scale`](https://github.com/react-component/icon-anim/blob/master/src/animTypeSVG.js#L5) |
|  viewBox   | string   | '0 0 1024 1024' | svg viewBox |

---
_Source: https://npm.io/package/rc-icon-anim · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
