Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultCursorCursor Push Tags
Expanding Pill NavBrowse all 182Letter Morph Search
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Cursor Push Tags

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • Draggable
  • CustomEase

Setup

npm i gsapregisterPlugin(Draggable, CustomEase)

More like this

  • Velocity
  • Elastic
  • Draggable

Features.

  • A loose, hand-packed cloud of pill tags with a slight tilt each, laid out the same on every load
  • Sweep the cursor through and the tags get knocked aside, harder the faster you move
  • Tags collide as boxes and every bump lands off-centre, so they tilt and spin as they jostle
  • Each tag springs back to its own spot and tilt with a soft, slightly bouncy settle
  • Drag and throw a tag (touch too): it lifts, flies, brakes and shoves its neighbours out of the way like a magnet
  • Same-coloured tags are kept apart where possible, and the tags shrink to fit narrow screens
  • A drag never triggers the link; a click or the keyboard still does
  • The physics loop only runs while something moves
  • Respects prefers-reduced-motion: the tags sit still, with no knock or drag
  • GSAP, Draggable and CustomEase

How to get it right.

Eight to twelve short tags

The pack is tuned around ten tags of one or two words. Fewer looks sparse; many more gets crowded and the knocks turn into a pile-up.

Mix the colours

Five tones are built in. The layout keeps same-coloured tags from touching where it can, so use at least three tones across the set.

Give it room

The tags pack into the middle of the box and fly to its edges. The default box fills the screen height; if you make it shorter, keep it at least three or four tag-heights taller than the pack.

Tune strength before spin

data-au-strength sets how far a sweep sends the tags; data-au-spin sets how much they tilt from hits. Around 1 for both feels physical; push strength to 2 for a playful hero.

Variations.

  • Cloud — the default: ten knots in five colours across four rows
  • Gentle — data-au-strength="0.5": tags lean away rather than fly
  • No tilt — data-au-spin="0": tags slide without turning
  • Long and low — data-au-rows="2": a wider, shorter pack
  • Drag only — data-au-strength="0": the cursor passes through; tags still drag and throw
  • Your colours — override the --kng-* tone and text pairs

Where it fits.

  • Hero sections — skills, services or topics as something to play with
  • About pages — what a studio does, as a pile of tags
  • Blog indexes — categories that link to filtered lists
  • Footers — a playful set of links to finish a page

Frequently asked.

Yes, each is an <a>. A drag never follows the link; a click or keyboard Enter does. Tags with href="#" don't navigate.

Touch gets drag and throw, and the page still scrolls: a swipe that starts up or down on a tag scrolls, and one that starts sideways picks the tag up. The cursor knock is mouse only.

It's seeded, so the pack looks hand-placed but identical on every load, and the same-colour check picks the best of 24 tries.

Set min-height on .kng_cloud (it's 100dvh by default). The box inherits it and the tags stay inside it.

Set font-size on the root. Tags are 2.34em (smaller under 992px and 768px), and the physics distances scale with the font size too.

Add <p class="kng_title">Your title</p> before .kng_box, or pass title in React. It sits at the top and doesn't move the pack.

Related components.

Free

Dither Reveal Cursor

Cursor

Pro

Mesh Gradient Hero

Cursor

Free

Dither Trail Cursor

Cursor