0.1.3 • Published 3 years ago

react-image-glitch v0.1.3

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

Glitching image effect

A basic React component for a glitching image effect.


GlitchedImage takes a single image prop (string) and must be in a container with a set height or flex grow.

To use:

import { GlitchedImage } from 'react-image-glitch'

const MyComponent = () => {
  const myImageString = 'www.example.com/image'
  return (
    <div style={{ height: 500 }}>
      <GlitchedImage image={myImageString} />
    </div>
  )
}
0.1.3

3 years ago

0.1.2

3 years ago

0.1.11

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago