Skip to content

joazco/react-matrix-code-rain

Repository files navigation

react-matrix-code-rain

A simulation of the Matrix "Code Rain" effect.

Code inspirate by

Installation

npm i react-matrix-code-rain

React

Declaration

/// <reference types="react" />
export type MatrixCodeRainComponentProps = {
  width?: number | string;
  height?: number | string;
  timeout?: number;
  textStrip?: string[];
  theColors?: string[];
  stripCount?: number;
};
declare const MatrixCodeRainComponent: React.FC<MatrixCodeRainComponentProps>;
export default MatrixCodeRainComponent;

Usages

import './App.css';
import MatrixCodeRainComponent from 'react-matrix-code-rain';

function App() {
  return (
    <div className="App">
      <MatrixCodeRainComponent />
    </div>
  );
}

export default App;

Screen

Screen example

About

A simulation of the Matrix "Code Rain" effect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published