Skip to content

emajidev/icon-animate-xxl

Repository files navigation

icon-animate-xxl

Icon animations for react-native compatible with oblador vector-icons

npm npm

Installation

  1. Run: $ npm i icon-animate-xxl
  2. In your Project: import IconAnimate from "icon-animate-xxl"

Example

import React from "react";
import {View} from "react-native";
import IconAnimate from "icon-animate-xxl"
export default function App() {
  return (
    <View>
      <IconAnimate
        name={"heart"}
        color={"#f45"}
        size={20}
        animation={"explode"}
        doppelganger={"heart-o"}
        animation={"explode"}
      />
    </View>
  );
}
});

Properties

You can build your animated icon with these props:

Prop Description Default
name Name of icon, use for exampleheart. None
size Icon size. 20`
color Text and icon color, use iconStyle or nest a Text component if you need different colors. None
animation write the different animation options. "explode"
doppelganger this is an animation effect for explode which shows a mirror effect of the icon like a doppelganger None

License

This project is licenced under the MIT License.

Any bundled fonts are copyright to their respective authors and mostly under MIT or SIL OFL.y bundled fonts are copyright to their respective authors and mostly under MIT or SIL OFL.

About

Icon animations for react-native compatible with oblador vector-icons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published