Toolbar

Toolbar is the component that surfaces the actions needed to complete a task.


Anatomy

Toolbar Anatomy

Usage

Toolbar is used in the Worker OSD Viewer, in two main placements: • Side Toolbar • Bottom Toolbar A single Toolbar Button can also be used standalone.

Toolbar Usage

Positioning

Toolbar sits above the working section. Place it where it doesn't interfere with the work — top, bottom, or side.

Toolbar Positioning

Components

Toolbar surfaces the actions needed to complete a task.

Side Toolbar

Vertical form, anchored to the left or right edge of the host workspace. A Divider can separate elements by purpose.

Side Toolbar

Bottom Toolbar

Horizontal form, anchored to the bottom of the host workspace. Functionally distinct groups separate with an 8px gap.

Bottom Toolbar

Single Toolbar Button

Unlike Side and Bottom Toolbar groups, this element runs standalone. Roles and types vary widely.

Single Toolbar Button

Extra Case

Toolbar can adapt to different purposes in the workspace.

Extra Case

Variants

Toolbar Variants - Side
Toolbar Variants - Bottom

State

Toolbar Button has 5 states — Default, Hover, Selected, Select Hover, Disabled. Selected and Select Hover may be omitted depending on intent.

Hover

Hover

Hovering over a Toolbar element should surface a Tooltip describing the tool. Omission is permitted by context.

Selected & Clicked

Selected & Clicked

When a specific tool requires a separate component in Selected state, position it using the Tooltip placement convention (4px). Unlike Selected, when a Clicked action surfaces a separate component (no dedicated Clicked Toolbar Button state defined), use an 8px gap.

Clicked & Change

Clicked & Change

Bottom Toolbar buttons typically don't change visually on click — they just execute. Exception: Show / Hide directly reflects the current Annotation Object state in the Viewer for an intuitive read.


Type of Toolbar

Type
Toolbar / Side Toolbar
Toolbar / Bottom Toolbar
Toolbar / Fold Toolbar
Toolbar / Toggle Filter

State of Side Toolbar

Type
State
Navigation
Default, Hover, Selected, Select Hover, Disabled
Select
Default, Hover, Selected, Select Hover, Disabled
Pen
Default, Hover, Selected, Select Hover, Disabled
Rectangle
Default, Hover, Selected, Select Hover, Disabled
Measurement
Default, Hover, Selected, Select Hover, Disabled
Send to back
Default, Hover, Disabled
Send to front
Default, Hover, Disabled
Redo
Default, Hover, Disabled
Undo
Default, Hover, Disabled

Tool Guide

Tooltip

Icon-based Toolbar tools surface their description through a Tooltip. The Tooltip typically holds name, description, and keyboard shortcut. Self-evident tools can omit description; tools that don't need a shortcut within the workspace can omit shortcut info. Tooltip behavior follows the standard Tooltip policy — surfaces on Hover.

Tooltip

Cursor

Toolbar elements expose a wide range of behaviors. The cursor shape shifts based on the function each Toolbar Button activates.

Cursor