A styled toolbar component for React Flow nodes with flexible positioning and custom actions.
The Toolbar component provides a positioned toolbar that attaches to nodes in React Flow canvases. It features modern card styling with backdrop blur and flexbox layout for action buttons and controls.
npx ai-elements@latest add toolbar
<Toolbar />| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
- | Additional CSS classes to apply to the toolbar. |
...props |
ComponentProps<typeof NodeToolbar> |
- | Any other props from @xyflow/react NodeToolbar component (position, offset, isVisible, etc.). |