---
title: "Magnetic Buttons"
canonical_url: "https://framerhub.io/components/magnetic-buttons"
last_updated: "2026-11-09T16:24:43.433Z"
---

## Magnetic Buttons

Buttons that pull toward the cursor when it comes close, with physics-based motion. Use one of 4 preset styles, or connect your own component to make it magnetic.

## Features

**Physics-based motion.** The button follows the cursor with adjustable strength and smoothness.

**4 presets.** Rounded Rectangle, Circle Fill, Pill Fill and Circle Outline.

**Your own components.** Connect any Framer component (an icon, a card, a full design) to make it magnetic.

**Text counter-movement.** The label moves slightly against the button for a sense of depth.

## Use Cases

**Call-to-action buttons.** CTAs that react before they're clicked.

**Navigation.** Menu items and icons that pull toward the cursor.

**Portfolios.** Clickable elements that invite a hover.

**Landing pages.** Interaction on the main conversion buttons.

![Magnetic Buttons Preview](/framerhub/img/components/control/magnetic-buttons.jpg)

## How to Use

### Customization

**Type Selection**

- Default: Use pre-styled button presets
- Custom: Connect your own Framer component

**Magnetic Behavior**

- Magnetic Strength: How strongly the button follows cursor (0-1)
- Distance Threshold: Activation range for the effect
- Smoothness: Animation fluidity (lower = smoother)
- Text Counter Move: Depth effect intensity

**Button Styles**
Each preset has full customization for dimensions, typography, colors, and hover states.

### Quick Tips

**Strength.** 0.3 is subtle. 0.5 to 0.8 follows the cursor much more.

**Smoothness.** Around 0.1 balances quick response with smooth motion.

**Custom mode.** Connected components need visible edges, or the movement is hard to see.

**Hover states.** Set a hover color so visitors see when the magnetic effect kicks in.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
