An animated cursor component that allows you to customize both the cursor and cursor follow elements with smooth animations.
Made by imskyleenInstallation
Usage
Global
Local
API Reference
CursorProvider
| Prop | Type | Default |
|---|---|---|
children | React.ReactNode | - |
global? | boolean | false |
CursorContainer
| Prop | Type | Default |
|---|---|---|
asChild? | boolean | false |
...props? | HTMLMotionProps<"div"> | - |
Cursor
| Prop | Type | Default |
|---|---|---|
asChild? | boolean | false |
...props? | HTMLMotionProps<"div"> | - |
CursorFollow
| Prop | Type | Default |
|---|---|---|
asChild? | boolean | false |
side? | CursorFollowSide | bottom |
sideOffset? | number | 0 |
align? | CursorFollowAlign | end |
alignOffset? | number | 0 |
transition? | SpringOptions | { stiffness: 500, damping: 50, bounce: 0 } |
...props? | HTMLMotionProps<"div"> | - |