Skip to content

A react component to simulate a reveal of text with matrix decodification effect.

Notifications You must be signed in to change notification settings

Hack-a-nooB/react-matrix-decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Decode

npm install react-matrix-reload --save

import React from 'react'
import ReactDOM from 'react-dom'
import MatrixDecode from 'react-matrix-decoder'

class Container extends React.Component {
  render () {
    return (
      <div>
        <div>
          <MatrixDecode ref='decode' before='Reveal me' after='Trump 💩' speed={50} />
        </div>
        <div>
          <button onClick={() => this.refs.decode.decode()}>Matrix Decode!</button>
        </div>
      </div>
    )
  }
}

ReactDOM.render(<Container />, document.getElementById('container'))

You will get this effect

test

About

A react component to simulate a reveal of text with matrix decodification effect.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%