Description

A tree is a hierarchical List, allowing users to expand and collapse nodes to show or hide nested items.

Types

Image

Single selection

Multiple selection

Smart Selection

Usage & Behavior

Trees are used to navigate within hierarchical lists of objects (e.g. organizations), and then to select one or more items in order to filter content or show additional information.
They usually appear inside a Filter Pane, a Details Panel, or a Widget.

General guidelines

Structure

The tree consists of:

Leaf nodes

Container nodes:

A root node (optional)

Multiple Selection

Where multi-selection is used, each node will have a Check Box, allowing the user to select and deselect it.

Default State

Content

States

Regular

Hover

Active

Disabled

Focused

Focused, Hover

Focused, Active

Focused, Disabled

Interaction

Best practices

Use:

Don't use:

General

Accessibility compliance

Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility.

Design

Zeplin link

Screen thumbnail

Single Select

https://zpl.io/agwRA0a

Multi Select

https://zpl.io/a8L0Exa

Smart Select

https://zpl.io/VDePyea

Tree - Organization

https://zpl.io/adgoJlV

Code