Cursor Spotlight Panel

Motion

A panel whose accent radial spotlight follows the cursor, driven by Framer Motion values without re-renders. It shows a still surface for reduced motion.

src/registry/premium/cursor-spotlight-panel.tsx/r/cursor-spotlight-panel.json

Installation#

bash
npx shadcn@latest add @minidev/cursor-spotlight-panel

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/cursor-spotlight-panel.json

Usage#

tsx
import { CursorSpotlightPanel } from "@/components/ui/cursor-spotlight-panel"

export function Example() {
  return (
    <CursorSpotlightPanel />
  )
}

API reference#

CursorSpotlightPanel props
PropTypeDefault
titlestring"Craft under the cursor"
bodystring"Hairline panels that respond without...
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files

Examples#

All Animated React components

Learn more