react-glitch-animation
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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'),
);
props default value info
isActive true Is animation active
animationDurationMS 0 Animation 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

Package Sidebar

Install

npm i react-glitch-animation

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

71.7 kB

Total Files

16

Last publish

Collaborators

  • orenef