1.0.7 • Published 9 months ago

react-text-glitch-effect v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

react-text-glitch-effect

Install

  • using npm
npm install react-text-glitch-effect

Usage

import React from 'react';
import {TextGlitchEffect} from 'react-text-glitch-effect';

function App() {
  return (
    <TextGlitchEffect
      text='React Text Glitch Effect'
      speed={40}
      letterCase='lowercase'
      includeSpecialChars
    />
  );
}

export default App;

Note

Try to use monospace fonts in case of alphabets or alphanumeric type, as the letters having different width may not look good.

Demo

Click here for demo

Properties

PropertyTypeDefaultDescription
textStringThe text which will have the glitch effect.
speedNumber30The speed at which the letters change (in ms)
letterCaselowercase or uppercaseuppercaseThe letter case which can be used.
classNameStringText styles.
typealphabets, numbers, specialchars or alphanumericalphabetsThe type can be used to set which letters to show when the effects run.
1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago