Ali Imam

Custom Cursor

Cards 36

About

The component accepts props for cursor type selection, colors, and sizing, with all styles implemented inline as requested. It includes all six cursor variations: arrow-pointer, big-circle, ring-dot, circle-and-dot, glitch-effect, and motion-blur, each with their unique animations and hover effects.

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

Code

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

Usage.tsx

"use client";

import CustomCursor from "@/components/ui/custom-cursor";

const settings = {
  glitchColorR: "#ff4f71",
  glitchColorB: "#00feff",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen bg-background">
      <CustomCursor
        cursorType="glitch-effect"
        glitchColorR={s.glitchColorR}
        glitchColorB={s.glitchColorB}
      />
    </div>
  );
}

More by Ali Imam

View all
  • Liquid Glass Button

    Liquid Glass Button

    7.3K
  • Shader Animation

    Shader Animation

    3.9K
  • WebGL Shader

    WebGL Shader

    2.8K
  • Shiny Button

    Shiny Button

    2.5K
  • Shader Lines

    Shader Lines

    2.5K
  • GLSL Hills

    GLSL Hills

    2.2K
  • Canvas

    Canvas

    1.8K
  • Gallery

    Gallery

    1.6K

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    46
  • Course Design Cards

    Course Design Cards

    1.3K
  • Liquid Glass Card

    Liquid Glass Card

    202
  • Statistics Card 2

    Statistics Card 2

    321
  • Card Studio

    Card Studio

    37
  • Astryx Clickable Card

    Astryx Clickable Card

    1
  • Admin Dashboard Cards

    Admin Dashboard Cards

    40
  • Statistics Card 10

    Statistics Card 10

    307