Fresh in the bowl: Lava Lamp, Dynamic Island and 9 moreSee what’s new →
bowls.dev

Magnetic Dock

PRO

A macOS-style dock where icons swell as the cursor approaches, with spring physics and labels.

React 19Tailwind 4motionadded 2026-12-01
live preview · magnetic dock

Installation

Into your bowl in one line.

The CLI drops the source straight into your project. You own every line; there’s no package to update.

  1. 01

    Add it with the CLI

    $ npx bowls@latest add magnetic-dock
  2. 02

    Or go manual: install the one dependency

    npm i motion
  3. 03

    Serve it

    Paste the source into components/bowls/magnetic-dock.tsx and import it — the Code tab’s demo.tsx shows a full example.

Props

PROPTYPEDEFAULTWHAT IT DOES
itemsDockItem[]—Icons, labels and actions to show.
basenumber48Resting icon size, in px.
magnificationnumber76Largest size an icon grows to, in px.
reachnumber140How far the cursor’s pull is felt.
spring"soft" | "snappy" | "bouncy""snappy"Feel of the magnification.

Goes well with

More navigation →

Something missing?

Suggest a component

Seen an animation or interaction you’d love in the bowl? Tell us about it. No guarantees — but if it’s a fit, we’ll build it.

★ We’ll email you when it ships
esc