跳到主要内容

Components

UI components for building plugin interfaces — dialogs, buttons, inputs, and other visual elements. Compose them with IModalDialog, IBox, or other layout containers; overlays such as dialogs, toasts and selectors are displayed by returning an IMessage with the matching Actions value from an event handler.

Overview

The following components are available:

InterfaceDescription
ComponentA component that is used to add components into Box.
IBoxA container that lays out its contents in one direction.
IButtonA component that is used for an action on a page.
ICheckboxCustom checkbox.
IComboBoxCustom combo box input.
ICreateDialogModal dialog for creating certain item (file, folder, etc.).
IFloatingOperationsButtonConfiguration for the floating operations button.
IFrameA component that is used to embed a third-party website into a modal window or the settings page.
IIconButtonA component that displays an interactive icon button with hover and click states.
IImageA component that is used to embed an image not from the assets folder into a modal window or the settings page.
IInputInput field for single-line strings.
ILabelField name in the form.
ILinkDefines the link component properties.
IMediaViewerProperties for the Media Viewer component that allows plugins to display custom content.
IModalDialogModal dialog.
ISkeletonA component that is used to hide components during uploading.
ITextPlain text.
ITextAreaCustom textarea.
IToastA brief notification that appears on the screen.
IToggleButtonCustom toggle button input for binary state controls.
TSelectorProvides selector components for choosing files, rooms, users, and groups within DocSpace.