felix-au

Text Orbiter Cursor

Text

About

A custom canvas cursor effect where a string of characters orbits in a circle around the pointer, speeding up and expanding on hover or click.

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

Code

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

Usage.tsx

"use client";

import TextOrbiterCursor from "@/components/ui/text-orbiter-cursor";
import * as React from "react";

function TextOrbiterCursorDemo() {
  const containerRef = React.useRef(null);

  return (
    <div
      ref={containerRef}
      className="relative w-full h-screen overflow-hidden flex items-center justify-center bg-black text-white"
      style={{ cursor: "none" }}
    >
      <TextOrbiterCursor
        containerRef={containerRef}
        config={{
          text: "CURSORX DEV FELIXAU",
          color: "#7c5cfc",
          radius: 42,
          speed: 0.02,
          pointerAnim: true,
          pointerRadiusBoost: 20,
          pointerSpeedBoost: 0.04,
          clickAnim: true,
        }}
      />

      <button className="btn px-6 py-3 rounded-full bg-white/10 text-white border border-white/20">
        Hover me
      </button>
    </div>
  );
}

export default TextOrbiterCursorDemo;

More by felix-au

View all
  • Matrix Rain Cursor

    Matrix Rain Cursor

    43
  • Constellation Cursor

    Constellation Cursor

    19
  • Wind Stream Cursor

    Wind Stream Cursor

    8
  • Rainbow Comet Cursor

    Rainbow Comet Cursor

    8
  • DNA Helix Cursor

    DNA Helix Cursor

    7
  • Pixel Shatter Cursor

    Pixel Shatter Cursor

    4
  • Fire Trail Cursor

    Fire Trail Cursor

    4
  • Bubble Float Cursor

    Bubble Float Cursor

    3

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Shimmering Text

    Shimmering Text

  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • Scroll Fill Headline

    Scroll Fill Headline

    43
  • Shine Border

    Shine Border

    1K
  • Toolbar

    Toolbar

    55