Toolbar API
import { Toolbar } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
children | React.ReactNode | |
density | 'compact' | 'default' | 'comfortable' | |
headless | boolean | |
loop | boolean | |
orientation | 'horizontal' | 'vertical' | |
size | 'sm' | 'md' | 'lg' | |
variant | 'default' | 'soft' | 'contrast' | 'minimal' | |
wrap | boolean |
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