Discover 2 Cursor Effects Components

Cursor Effects for React and Tailwind CSS

Cursor effects for React: a custom cursor, a trail that follows the pointer or elements that move with the mouse. Each one is a React component styled with Tailwind CSS v4.

What is a cursor effect?

A cursor effect changes how the mouse pointer looks or moves on a page, such as a custom cursor shape, a trail that follows the pointer or a circle that eases after the mouse. It gives a site character in the one place visitors are always looking.

On a good custom cursor website, the pointer stays accurate: the real click point is exact while the decoration follows a beat behind, the cursor changes clearly over links and buttons, and the effect switches off on touch screens, where there's no pointer to follow. Custom cursor trails and other cursor animation work best on portfolios, studios and launch pages, where a little play fits the brand. Every effect in this category is a React component styled with Tailwind CSS v4, and it's part of our React components.

How to add a cursor effect to your website

Run one CLI command, copy the source or paste an AI prompt. Whichever you pick, the code ends up in your project as a file you can edit.

  1. Pick one from the grid, open the live preview, and adjust colors, fonts and motion in the Customize panel.
  2. Install it with the CLI. Run npx motionuikit@latest add <name> in your project folder (Node.js 20 or newer). It writes components/motionuikit/ui/<name>.tsx, under src/ if your project has one, and installs the npm packages it needs. See the CLI guide.
  3. Or copy it by hand. Copy the file from the page and install the npm packages it lists, or paste the AI prompt into Cursor, Claude, v0, Lovable, Bolt or any AI tool with a terminal.
  4. Use it. Import it from @/components/motionuikit/ui/<name>, place it in your layout so it covers every page, and adjust the props.

Browse other component categories

Components are grouped by what they do on a page.

  • Interactive elements: UI that responds to clicks, drags and scrolling. For pages people use, not just read.
  • 3D elements: Three.js objects and scenes for your pages. For a focal point that adds depth next to a headline or a feature.
  • Hover effects: components that react to the cursor. For links, buttons and cards that show they can be clicked.
  • Animated buttons: call-to-action buttons with motion built in. For the moment a visitor decides to click.
  • CSS animations: motion for any part of a page. For reveals, loops and transitions built with CSS and Motion.
  • Text effects: headings and text that move. For the line you most want people to read, such as a headline or a key number.
  • All React components: every category in one grid, which you can filter by style.

Frequently asked questions

For a static shape, point the CSS cursor property at an image. For one that moves, render an element that tracks the mouse with a pointermove listener, give it pointer-events: none so clicks pass through, and animate its position with CSS transforms or a library like Motion.

Each component is marked Free or Pro. Browsing and live previews of free ones need no account; copying code or installing needs a free account. Pro components need a paid plan, which also includes every Pro section and template. See plans and limits.