Playbook Stage Picker

Displays playbook stages in a vertical or horizontal orientation and is used to select a stage to view and update its activities

Overview

  • Release version
    Yokohama
  • Available sinceUtah
  • A11Y WCAG 2.1 AA

Anatomy

Learn about the individual parts of playbook stage picker.

Stage picker anatomy (horizontal view)

Stage picker anatomy with individual parts identified
  1. Stage scrolling arrows: Appear at the start and end of the stage picker when the number of stages exceeds the maximum setting
  2. Status icon: Indicates the current status of a stage
  3. Stage: Playbook stage title
  4. Stage actions icon (vertical ellipsis): Opens a dropdown list of stage level actions
  5. Filter icon: Used to access a dropdown of available filters the user can select
  6. Filter number (optional): Number of filters applied next to the stage picker filter icon
  7. Overflow actions menu (optional): Configurable actions

Stage picker anatomy (vertical view)

Stage picker stacked vertical view anatomy with individual parts identified
  1. Filter icon: Used to access a dropdown of available filters the user can select
  2. Overflow actions menu (optional): Configurable actions
  3. Collapse/expand chevron: Expands or collapses the entire nav for a particular playbook.
  4. Playbook title: Identifies the specific playbook
  5. Status icon: Indicates the current status of a stage
  6. Stage: Playbook stage title
  7. Selected stage: A user accesses the activities for a stage by selecting it
  8. Progress bar: Shows the level of completion for an activity
  9. Activities completed: Indicates the number of completed and total activities
  10. Prioritized activity indicator: Indicates there’s at least one prioritized activity in the stage

Subcomponents

See the usage guidelines for button.

See the usage guidelines for button icon.

See the usage guidelines for heading.

Usage

Stage picker summarizes the stages and activities that are part of an end-to-end process. This component shows users the progression of work through a playbook, displaying completed, in progress, and pending stages. Layout options include horizontal and vertical orientation.
A stage picker is repeated for each available playbook running on the same record.
Use stage picker to reduce clutter and focus on one stage at a time.

Variants

Playbook stage picker has the following variants.

Types

Stage picker component has the following types.

Horizontal view

By default, the stage picker horizontal view displays up to 5 stages for a playbook.

Stage picker horizontal view showing 5 stages with one selectedocused vertical view anatomy with individual parts identified

Vertical view (stacked)

The stage picker vertical view displays a navigable vertical list of all stages for a playbook.

Stage picker stacked vertical view with first stage selected

Configurations

Learn how to customize playbook stage picker by configuring the available properties.

View

You can specify either the horizontal view or vertical view.

Visible horizontal stages

For the horizontal view, the maximum number of visible stages. Scrolling arrows appear at the start and end of the stage picker when the number of stages exceeds this value. The default is 5 stages.

Number of filters

You can display the number of filters applied next to the stage picker filter icon. By default, the filter number doesn’t appear.

Design recommendations

Learn how to apply playbook stage picker in your design.

UI text guidelines

These are some recommendations for using text within playbook:

  • Headers and stage and activity titles should be short and precise, or they might truncate
  • Use actionable activity titles that start with verbs, such as "Check approval status"
  • Keep all text labels informative and short to increase readability and scanning 
  • Ensure content is contextual and specific to offer guidance and support to the user 
  • If a component performs or supports an action, label it with a verb (like “Submit”) 
  • Button text should be concise, actionable, and clearly state what happens when a user makes the selection

Behavior

Learn how playbook stage picker behaves when the display changes or a user interacts with the component.

States

Playbook stage picker has the following states.

State Example
Default now-playbook-stage-picker
Hover now-playbook-stage-picker
Pressed now-playbook-stage-picker
Selected now-playbook-stage-picker
Disabled now-playbook-stage-picker

Status icons

The following icons appear at the start of each stage name. They indicate the current status of the stage.

Status Example
In progress now-playbook-stage-picker
Complete now-playbook-stage-picker
Error now-playbook-stage-picker
Pending (available to be selected) now-playbook-stage-picker
Skip now-playbook-stage-picker
Cancelled now-playbook-stage-picker
Pending (not selectable) now-playbook-stage-picker

Interactions

Learn how playbook stage picker responds when a user interacts with it.

Selected

When a user selects a stage, all the activities for the stage become accessible.

Stage actions

When users place their pointer on a stage, the actions icon (vertical ellipsis) appears. Selecting this icon opens a dropdown list of stage-level actions.

Horizontal stage picker and the action menu is expanded for the Evaluation stage with Cancel add activity and cancel stage listed on dropdown

Playbook filters

Users can apply a filter to the activities of a single stage by selecting the filter icon at the end of stage picker and choosing a filter option. This applies in both horizontal and vertical playbooks.

Playbook actions

Users can access a dropdown of additional actions by selecting the actions icon (vertical ellipsis) next to the filter icon.

Truncation

When the stage name exceeds the text area width, the text truncates with an ellipsis. When a user places the pointer on the ellipsis, a tooltip shows the full name. Note that the stage text area has a small buffer on each side of the stage name.

Usability

Playbook stage picker complies with all internationalization and accessibility requirements.

Internationalization

When the display translates to a right-to-left (RTL) language, the order of importance changes to right-to-left in the playbook stage picker, but remains the same from top to bottom.

playbook internationalization

Accessibility

Learn how to access the actionable elements of playbook stage picker through keyboard interactions and screen readers.

Playbook stage picker tab order

Horizontal stage picker with keyboard tab key order from left to right starting with left stage scrolling arrow button and continuing through each stage and then its action icon button

Keyboard interactions

Users can interact with the playbook stage picker using the keyboard.

  • Tab: Moves focus to the next interactive element in the UI
  • Shift + Tab: Moves focus to the previous interactive element in the UI
  • Esc: Dismisses displayed tooltip
  • Enter/return: Triggers an action associated with an interactive element when in focus, such as opening an actions menu
  • Arrow up, down, right, left: Moves focus through menu options when opened

Screen readers

When you apply ARIA labels to a component, screen readers announce the controls and content of playbook stage picker in the prescribed tab order.