Cursor
A customizable React cursor component replicating the Figma-style pointer, featuring smooth motion tracking, scaling on interaction, and optional presence indicators for multi-user interfaces.
Example
Ethan Rodrigues
Installation
CLI (Recommended)
Manual
Install the following dependencies:
Copy the source code to components/lyxui/cursor.tsx
You are ready to use the component! Simply use the above example and start using it in your code.
Props
Prop | Type | Default |
---|---|---|
text? | string | required |
className? | string | undefined |
color? | string | "sky" |