Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

Text Cursor

Character trails that follow cursor movement with floating animations for React applications.

Text or emoji that trails behind your cursor like breadcrumbs, creating playful interactive effects. Characters spawn at regular spacing intervals as you move, orient themselves toward the mouse direction, and gently float with random micro-movements before fading away. Configurable trail length, spawn spacing, exit animations, and optional direction-following behavior. Built with Motion for React using AnimatePresence for smooth enter/exit transitions. Perfect for cursor effects, interactive backgrounds, or whimsical UI touches.

Text Cursor preview

Scroll to load preview

Installation

FAQ