Skip to main content

Interactive elements

Buttons in their variants -- plain, icon, floating, main-menu -- and the drag-and-drop surfaces: components whose job is to be clicked or dragged.

Overview​

The following components are available:

ComponentDescription
ActionButtonSmall tinted button for a secondary action, optionally rendered as another element.
AddButtonSquare icon button with an optional label beside it, for adding one more of something.
ButtonLabelled action button with an optional icon, a loading state and a tooltip, in a primary or secondary variant.
ContextMenuButtonIcon that opens a menu of actions, built afresh from a callback each time it is clicked.
DragAndDropWrapper that turns whatever is inside it into a drop target for files, with no interface of its own.
DropzoneDashed upload area with a picture, a prompt and a format list, which turns into a loader while the upload runs.
FloatingButtonRound corner badge that shows the progress of a background operation and opens its panel.
HelpButtonInfo icon that opens an explanation on click, for a label that needs more than a label.
IconButtonIcon that acts as a button, with hover and pressed colours and an optional tooltip.
ImageEditorCrop window with drag, zoom and a replace control, for turning an uploaded picture into an avatar or a logo.
LinkWithDropdownDashed link that opens a menu under itself.
MainButtonMobileFloating round button in the corner of the screen that opens a full-width sheet of actions.
MainButtonAccent button at the top of a side menu that opens a menu of the things a user can create.