FloatingToolbar Overview
The Kendo UI for Vue FloatingToolbar is a popup-based container for contextual Toolbar actions. You can anchor it to a target element or position it within a container to place actions near selected text, a canvas object, an image, or an active call. Your application controls when the FloatingToolbar appears and which tools it contains.
The FloatingToolbar is distributed through the kendo-vue-buttons NPM package. See the Buttons overview for more details.
The following example demonstrates two contextual toolbars. Select text in the profile description to show formatting tools, or click the profile photo to show photo actions.
Key Features
- Positioning—Anchor the FloatingToolbar to an element or position it within a container, with collision handling and configurable spacing.
- Visibility—Render the FloatingToolbar only while its context is active, such as when a text selection exists.
- Toolbar Composition—Use Toolbar tools in the default slot of the FloatingToolbar.
- Dragging—Reposition the FloatingToolbar with the pointer, keyboard Move mode, or the
setPositionmethod. - Responsive FloatingToolbar—Keep overflowing tools on one row with built-in horizontal scrolling.
- Appearance—Customize the size and fill mode.
- Events—Respond to drag, move, and resize interactions.
- Keyboard Navigation—Navigate the tools and reposition the FloatingToolbar with the keyboard.
- Accessibility—Provide accessible names and use the supported WAI-ARIA attributes.
The FloatingToolbar composes the existing Toolbar with Popup. Its default slot accepts ToolbarItem, ToolbarSeparator, ToolbarSpacer, and custom tools, including Button, ButtonGroup, DropDownButton, and SplitButton.
Support and Learning Resources
- The
FloatingToolbarPropsandFloatingToolbarHandleinterfaces exported by@progress/kendo-vue-buttonsdescribe the component API. - API Reference of the Buttons
- API Reference of the Hosted Toolbar
- Getting Started with Kendo UI for Vue - JavaScript (Online Guide)
- Getting Started with Kendo UI for Vue - TypeScript (Online Guide)
- Getting Started with Kendo UI for Vue - JavaScript + Options API (Online Guide)
- Getting Started with Kendo UI for Vue - TypeScript + Options API (Online Guide)
- Getting Started with Kendo UI for Vue - Nuxt 3 (Online Guide)
- Virtual Classroom (Training Course for Registered Users)
- Knowledge Base
- Kendo UI Productivity Tools extension for VS Code