Skip to main content
Version: Next

PluginPanel API

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

Props​

PropTypeDescription
descriptionstring
dismissibleboolean
headlessboolean
onClose() => void
onOpen() => void
onOpenChange(detail: PluginPanelOpenChangeDetail) => void
openboolean
position'right' | 'left' | 'bottom'
size'sm' | 'md' | 'lg'
titlestring

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

Element: <ui-plugin-panel>​

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

Attributes: description, dismissible, headless, open, position, size, title

Events: open-change