toolbar-sdk

August 19, 2025

a lightweight sdk for creating floating toolbars with snap-to-grid positioning, smooth animations, and full customization. built for react and next.js.

why

building floating toolbars that feel right is surprisingly hard. you need smooth dragging, smart positioning, persistence, and adaptive layouts — all without bloating your bundle. toolbar-sdk handles all of that in 5kb.

how it works

drop in a component, configure your hotspots, and you get a production-ready floating toolbar with 60fps animations and persistent user preferences.

features

  • 9 predefined snap-to-grid hotspots
  • 60fps animations, 5kb bundle
  • persistent position memory across sessions
  • auto-orients based on screen space
  • fully typed with typescript

check it out at toolbar.sourabh.fun — zero config, just works.