Smooth Cursor

cursor go vroom vroom

oop, mobile are not supported!

use a device that has a mouse.

Installation

npx shadcn@latest add http://localhost:3000/labs/r/smooth-cursor.json
yarn dlx shadcn@latest add http://localhost:3000/labs/r/smooth-cursor.json
pnpx shadcn@latest add http://localhost:3000/labs/r/smooth-cursor.json
bunx shadcn@latest add http://localhost:3000/labs/r/smooth-cursor.json

Usage

layout.tsx
import { SmoothCursor } from "@/components/smooth-cursor";

export default function Layout({ children }: LayoutProps<"/">) {
  return (
    <>
      {children}
      <SmoothCursor />
    </>
  );
}

API Reference

SmoothCursor

Prop

Type