...

A widget is a container element designed to work within a workspace.

Image ModifiedImage Modified
Image ModifiedImage Modified

Usage & Behavior

General guidelines

...

  • The widget name will be aligned to the left.

  • Additional information (if exists) will be aligned to the widget name, separated by a line separator.

  • Where space is constrained, the widget name and the additional information will be truncated. In this case, the full information (both name and additional information) will be presented in a Tooltip.

Image Modified

Widget controls

  • Includes only actions that are related to the widget (such as expand/collapse, maximize, delete, configure, etc.). Content-related actions will be presented within the content area.

  • The action area should include up to 3 elements, including:

    • Icon Buttons, usually used for primary actions.

    • Action Menu, usually used for secondary actions. Where there are no primary actions, all actions may be presented in the actions menu (without any icon buttons).

...

  • Different content types can be gathered under a single widget, using Tabs. In this case:

    • The tabs replaces the widget title (and the additional information, if exists).

    • The action buttons refer to the widget as a whole (and not to each tab individually).

Image ModifiedImage Modified

Placement and Positioning

...

Widget layout configurations, such as size and location, will persist per user on future sessions.

States

State

Image

Regular

Image Modified

Hover (only when draggable)

Image Modified

Active (only when draggable)

Image Modified

Focused

Image Modified

Edge Cases

State

Image

Empty state

Image Modified

Loading…

Image Modified

Loading error

Image Modified

Interaction

  • Clicking the collapse/expand icon, will collapse / expand the widget using an animation. In this case the workspace layout may be changed.

Image ModifiedImage Modified
  • Drag and drop (optional):

    • Hovering over the widget will switch the widget to the hover state.

    • Hovering over the header area (including the handle) will change the mouse cursor to a dragging state.

    • The user can drag the widget to a new location (See Drag and Drop for more information).

Image Modified

Validations and errors

  • Widgets has no special validations.

  • In case there are errors in the content area and the widget is collapsed an indicator will appear next to the widget title:

Image Modified

Transitions

Expand and collapse will be animated.

...

  • On dashboards, widgets will be placed on a grey background:

Image Modified

Zeplin link

Screen thumbnail

https://zpl.io/blr1x0v

Image Removed
Image Added

Code

...