Opens in a new tab
Rabin-CraftWordPress Plugin
Buy now
Interactions
Element 26 of 30

Magnet Button

A button that leans toward the mouse before you touch it. Colour floods in from the exact point the mouse enters, or a spark orbits its edge.

Live demo · move your mouse over it

Book a free consultation

What it does

A call-to-action link with a magnetic pull toward the pointer. Twelve looks: "fill" floods with the accent from the point the mouse enters and drains where it leaves; "comet" sends a spark round the edge that speeds up on hover; shine, spotlight, wipe, roll, scramble, draw, brutal, press, glass and pulse (see look). Shape sets pill, rounded or square corners. Or skin "bricks": it takes the Bricks button styles of the site (size, style, outline, circle) and only adds the pull and the arrow. The arrow can be the short one in a circle, or a long thin ↗ or → with a hover motion (shoot, stretch, draw, turn, compass, cell, nudge, orbit). It stays a real link that works with the keyboard and on touch. Use it where a plain button would go unnoticed, once or twice per screen.

Add it to a page

1

Bricks

Search the elements panel for Magnet Button (mkit-magnet-button) and drag it in.

2

Shortcode

Paste [mkit_magnet_button] into any editor or builder.

3

AI agent

Ask an agent to use rabin-craft/add-to-page with element magnet-button.

[mkit_magnet_button]
[mkit_magnet_button text="Book a free consultation" url="/contact/" look="comet" align="center"]

Included in every plan

Magnet Button plus 29 more elements, updates and support.

Buy nowSee all plans

Settings

The same settings work in Bricks, in shortcode attributes and through the abilities.

Setting Type / options Default What it does
text string Book a free consultation The button text. Two to five words.
url string — Where it goes.
new_tab boolean false
look fill · comet · shine · spotlight · wipe · roll · scramble · draw · brutal · press · glass · pulse fill fill: colour floods in from the point the mouse enters. comet: a spark orbits the edge. shine: a solid button a streak of light sweeps across. spotlight: a soft light follows the mouse inside. wipe: colour slides in from the left and out to the right. roll: a solid button whose text rolls up to a fresh copy. scramble: the letters scramble, then settle. draw: an outline draws itself round the edge. brutal: a hard offset shadow it presses into. press: a 3D key that sinks. glass: frosted and see-through, for photos and video. pulse: a solid button with a ring that keeps rippling out.
shape pill · rounded · square pill With skin "craft": the corners.
arrow boolean true The arrow in a circle, which swaps on hover.
align left · center · right left
strength integer (0–60) 24 How strongly it leans toward the pointer. 0 = not at all.
theme dark · light dark Colour scheme. "dark" is designed for night/navy sections, "light" for white or pale sections.
skin craft · bricks craft "craft": the Rabin Craft look (see look and theme). "bricks": the site's own Bricks button (Theme Styles), with the magnet pull and arrow added; look, theme and colours are then ignored.
button_size · sm · md · lg · xl — With skin "bricks": the Bricks button size. Empty = default.
button_style primary · secondary · light · dark · muted · info · success · warning · danger primary With skin "bricks": the Bricks button style (its colour).
button_outline boolean false With skin "bricks": an outline button.
button_circle boolean false With skin "bricks": fully round ends.
arrow_style circle · long · line circle "circle": a short arrow in a filled circle that swaps on hover. "long": a long thin diagonal arrow (↗). "line": a long thin straight arrow (→).
arrow_motion shoot · stretch · draw · turn · compass · cell · nudge · orbit shoot How a long or line arrow moves on hover. shoot: leaves and comes back from the other side. stretch: the line gets longer. draw: it draws itself again. turn: swings from → to ↗. compass: always points at the mouse. cell: sits in its own block behind a divider. nudge: keeps pointing the way. orbit: inside a ring that fills.

Get the full kit

All 30 elements, one licence.

From ₹1,499 a year. Secure checkout on shop.rabinpal.com.