waiz

Matrix code rain

Component 134

About

A fully customizable Matrix code rain animation with a settings menu that lets you change the font size speed density and color of the falling code. Smooth flowing and perfect for adding a hacker style background or animated visual to any project.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Matrix code rain to your project and fits it to your theme.

Code

How Matrix code rain is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Component from "@/components/ui/matrix-code-rain";

const settings = {
  fontSize: 14,
  speed: 0.4,
  density: 1,
  textColor: "#00FF41",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen">
      <Component {...s} />
    </div>
  );
}

More by waiz

View all
  • SaaS Template

    SaaS Template

    2.4K
  • image auto slider

    image auto slider

    1.8K
  • Silk-Background-animation

    Silk-Background-animation

    925
  • Portfolio Hero

    Portfolio Hero

    885
  • Gradient bars Background

    Gradient bars Background

    589
  • Glow Button

    Glow Button

    384
  • Spotlight Button

    Spotlight Button

    380
  • Gradient Bar hero section

    Gradient Bar hero section

    343