Edu Calvo

Drawing Cursor

Component 52

About

A canvas overlay that draws a fading, tapered ink trail following the user's mouse cursor over any content.

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

Code

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

Usage.tsx

"use client";

import DrawingCursor from "@/components/ui/drawing-cursor";

export default function DrawingCursorDemo() {
  return (
    <DrawingCursor className="flex h-screen w-full items-center justify-center bg-background">
      <p className="pointer-events-none select-none text-2xl font-medium text-muted-foreground">
        Move your cursor to draw
      </p>
    </DrawingCursor>
  );
}

Dependencies

More by Edu Calvo

View all
  • Scrollable Card Stack

    Scrollable Card Stack

    300
  • Pixel Flow Field

    Pixel Flow Field

    221
  • Siri Orb

    Siri Orb

    204
  • AI Task List

    AI Task List

    203
  • Gravity Stars

    Gravity Stars

    184
  • Cursor Follow

    Cursor Follow

    164
  • Coverflow Carousel

    Coverflow Carousel

    160
  • Agent Avatar

    Agent Avatar

    160

Explore more

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