Button 45

PreviousNext

Button with magnetic effect that follows mouse movement

Docs
shadcn-studiocomponent

Preview

Loading preview…
registry/new-york/components/button/button-45.tsx
import { MagneticButton } from '@/registry/new-york/ui/magnetic-button'

const ButtonMagneticEffectDemo = () => {
  return <MagneticButton>Magnetic Button</MagneticButton>
}

export default ButtonMagneticEffectDemo

Installation

npx shadcn@latest add @shadcn-studio/button-45

Usage

import { Button45 } from "@/components/button-45"
<Button45 />