Smooth Cursor
Smooth Cursor renders a custom cursor whose movement follows a spring configuration.
Practical React example
Demonstrate a spring-following cursor on a small showcase page.
Before you copy and paste
Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/smooth-cursor.tsx and its returned support files from the Code tab; preserve the project-relative paths.
Listed package dependencies: framer-motion.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Demonstrate a spring-following cursor on a small showcase page
// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';
import { SmoothCursor } from "@/components/magicui/smooth-cursor"
export function ComponentExample() {
return (
<SmoothCursor />
);
}
Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.
Keep cursor size and spring values appropriate to the display, and test whether the native cursor remains needed for text selection and precision.
Customization
- SmoothCursorProps.cursor
- Optional; React.ReactNode.
- SmoothCursorProps.springConfig
- Optional; { damping: number stiffness: number mass: number restDelta: number }.
Integration notes
- Cursor effects should not interfere with browser or operating-system accessibility preferences.
- Avoid enabling it across a dense application without testing performance and touch behavior.
Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.
Give your agent taste.
The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.
All components are free. Sign up only to connect MCP.