Table of Contents |
---|
...
General guidelines
Structure
A widget consists of:
Header, which includes:
Widget name, with or without additional information. In some cases, this may be replaced by Tabs. See Internal Logic below.
Widget controls (optional), including Icon Buttons and/or an Action
MenusMenu.
The widget name will be aligned left.
Content area
On dashboards, widgets will be placed on a grey background.
Placement and Positioning
A widget can be placed anywhere on a page.
Content
...
Additional information will be aligned to the widget name, separated by a line separator. It should be short and informative. Avoid presenting a long description that will not be fully presented in various responsive states.
Where space is constrained, the widget name and the additional information will be truncated. The full information (both name and additional information) will be presented in a Tooltip.
Widget controls
...
Includes only actions that are related to the widget
and NOT content-related(such as expand/collapse, maximize, delete, configure, etc.). Content-related actions will be presented within the content area
only.
Actions are presented on hover.
- Up to 3 action buttons may be presented. The actions may include
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).
Placement and Positioning
A widget can be placed anywhere on a page.
...
Content
Widget Title
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.
Internal Logic
Tabbed Widget. Different content types can be gathered under a single widget, using Tabs.
The tabs replace the widget header and the additional information.
The action buttons refer to the widget as a whole (all tabs together).
Configuration. Widget configurations, such as resizing or moving location, should be saved per user for future sessions.
...
State | Image |
---|---|
Regular | |
Hover | |
Hover- Draggable | A frame will be added as a visual indication for draggability |
Active (relevant for draggable widgets only, while being dragged) | |
Disabled | TBD - graphic design |
Error | - |
Focused | - |
Focused, Hover | - |
Focused, Active | - |
Focused, Disabled | - |
...
When the entity is not self-contained, and doesn’t stand on its own.
As a single widget in a page.
General
Widget title should be short and informative. Avoid presenting a long description that will not be fully presented in various responsive states.
Accessibility compliance
...
Zeplin link | Screen thumbnail |
---|---|
<<Short Zeplin link. You | <<Screen with 200 width>> |
Code
...
On dashboards, widgets will be placed on a grey background:
...