Daiwiik Harihar

Flip Disk Matrix

Component 400

About

An interactive electromechanical flip-disk matrix component built with React and Tailwind CSS that renders real-time clocks, custom text, wave animations, and noise patterns with 3D perspective effects.

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

Code

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

Usage.tsx

// This is a file with a demo for your component
// That's what users will see in the preview
// Create new files in this directory to add more demos

import { FlipDiskMatrix } from "@/components/ui/flip-disk-matrix";

// ONLY DEFAULT EXPORT WILL BE TREATED AS A DEMO
export default function DemoOne() {
  return (
    <main className="min-h-screen w-full flex flex-col items-center justify-center p-4 md:p-8 font-sans relative overflow-hidden bg-neutral-50 text-neutral-900 dark:bg-[#050505] dark:text-neutral-100 transition-colors duration-500">
      {/* Subtle Ambient Glow (Dark mode only) */}
      <div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[800px] bg-[#E5FD52]/5 blur-[150px] rounded-full pointer-events-none hidden dark:block" />

      {/* Main Display Container */}
      <div className="flex flex-col items-center justify-center gap-6 md:gap-10 relative z-10 w-full max-w-5xl">
        <header className="flex flex-col items-center gap-2 text-center">
          <div className="text-[10px] md:text-xs font-mono tracking-[0.4em] uppercase text-neutral-500 dark:text-[#E5FD52]/70">
            Responsive Matrix
          </div>
          <h1 className="text-3xl md:text-4xl font-light tracking-tight text-neutral-800 dark:text-neutral-200">
            Electromechanical Clock
          </h1>
        </header>

        {/* The Matrix */}
        <div className="w-full flex justify-center">
          <FlipDiskMatrix />
        </div>
      </div>
    </main>
  );
}

More by Daiwiik Harihar

View all
  • Spatial Product Showcase

    Spatial Product Showcase

    2.2K
  • Constellation Grid

    Constellation Grid

    1.1K
  • Focus Rail

    Focus Rail

    1.1K
  • Rolling List

    Rolling List

    923
  • Elastic Gallery

    Elastic Gallery

    908
  • Hero Shutter Text

    Hero Shutter Text

    898
  • Text Block Animation

    Text Block Animation

    834
  • Kinetic Team Hybrid

    Kinetic Team Hybrid

    773

Explore more

Part of Actuators — browse the full library on 21st.dev.