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:
| Interface | Description |
|---|---|
Component | A component that is used to add components into Box. |
IBox | A container that lays out its contents in one direction. |
IButton | A component that is used for an action on a page. |
ICheckbox | Custom checkbox. |
IComboBox | Custom combo box input. |
ICreateDialog | Modal dialog for creating certain item (file, folder, etc.). |
IFloatingOperationsButton | Configuration for the floating operations button. |
IFrame | A component that is used to embed a third-party website into a modal window or the settings page. |
IIconButton | A component that displays an interactive icon button with hover and click states. |
IImage | A component that is used to embed an image not from the assets folder into a modal window or the settings page. |
IInput | Input field for single-line strings. |
ILabel | Field name in the form. |
ILink | Defines the link component properties. |
IMediaViewer | Properties for the Media Viewer component that allows plugins to display custom content. |
IModalDialog | Modal dialog. |
ISkeleton | A component that is used to hide components during uploading. |
IText | Plain text. |
ITextArea | Custom textarea. |
IToast | A brief notification that appears on the screen. |
IToggleButton | Custom toggle button input for binary state controls. |
TSelector | Provides selector components for choosing files, rooms, users, and groups within DocSpace. |