unlumen

Unlumen Magnetic Button

Buttons

About

Interactive magnetic button that follows cursor movement with smooth spring physics from Unlumen UI.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Unlumen Magnetic Button to your project and fits it to your theme.

Code

How Unlumen Magnetic Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { MagneticButton } from "@/components/ui/unlumen-magnetic-button";

export default function MagneticButtonDemo() {
  return (
    <div className="flex flex-wrap items-center justify-center gap-6 p-16">
      <MagneticButton>Deploy</MagneticButton>
      <MagneticButton>Preview</MagneticButton>
      <MagneticButton>Cancel</MagneticButton>
    </div>
  );
}

Dependencies

More by unlumen

View all
  • Motion Navigation Menu

    Motion Navigation Menu

    304
  • Side By Side Slide

    Side By Side Slide

    276
  • Scroll Reveal Image

    Scroll Reveal Image

    241
  • Count Up

    Count Up

    173
  • Pixel Liquid Background

    Pixel Liquid Background

    122
  • Animated Sidebar

    Animated Sidebar

    114
  • Glow Button

    Glow Button

    109
  • Horizontal Depth Fade

    Horizontal Depth Fade

    90

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1