Ritesh Bucha

Magic Cursor

Component 76

About

The Magical Mouse component creates a magical mouse effect. It supports hover effects, color changes, and pixel shape customization.

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

Code

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

Usage.tsx

import { Component } from "@/components/ui/magic-cursor";

export default function DemoOne() {
  return (
    <div
      className="w-screen h-screen bg-white overflow-hidden"
      style={{
        background:
          "linear-gradient(145deg, rgb(119, 46, 195), rgb(58, 18, 153))",
      }}
    >
      <Component />
    </div>
  );
}

Dependencies

More by Ritesh Bucha

View all
  • View Magnifier

    View Magnifier

    56
  • Modern Verticle Progress

    Modern Verticle Progress

    37
  • Split Text Effect

    Split Text Effect

    17
  • Pixel Icon

    Pixel Icon

  • Game Of Life

    Game Of Life