Component packs › Toolbelt › Floating Toolbar
One highlight springs from tool to tool and jumps the gap between two toolbars as a single body.
Floating Toolbar is a toolbar from Toolbelt, a component pack with 6 toolbar components: Toolbars, menus and tab bars with one highlight that springs from tool to tool. Price: $2 for the whole pack.
Built with: shared travelling highlight, cross-toolbar roving, live formatting.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | follows the page | Force the dark (true) or light (false) look. Default: follows the page. |
onChange | (state: { bold: boolean; italic: boolean; underline: boolean; strike: boolean; align: string }) => void | ||
autoplay | number | false | Showcase mode: uses the next tool every N ms while visible. |
destroy(): voidimport FloatingToolbar from './FloatingToolbar';
<FloatingToolbar />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Menus and popovers.