Skip to main content
Version: Next

Toolbar API

import { Toolbar } from '@editora/ui-react';

Props​

PropTypeDescription
childrenReact.ReactNode
density'compact' | 'default' | 'comfortable'
headlessboolean
loopboolean
orientation'horizontal' | 'vertical'
size'sm' | 'md' | 'lg'
variant'default' | 'soft' | 'contrast' | 'minimal'
wrapboolean

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-toolbar>​

Toolbar renders the ui-toolbar custom element from @editora/ui-core, which can also be used without React.

Attributes: aria-label, density, headless, loop, orientation, size, variant, wrap