1.0.0 • Published 3 years ago

react-glitch-animation v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

react-glitch-animation

A React component that add a glitch animation to any text.

See demo at codesandbox

Installation

Use the package manager npm to install .

npm install react-glitch-animation

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import { GlitchAnimation } from 'react-glitch-animation';
ReactDOM.render(
  <GlitchAnimation isActive={true} animationDurationMS={5000} text="Glitch effect"/>,
  document.getElementById('root'),
);
propsdefault valueinfo
isActivetrueIs animation active
animationDurationMS0Animation Duration in MS, 0 = infinite
text"Glitch Animation Effect"Text to apply the animation on it

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT