Skip to content

Tree view

Nested, expandable lists for files, folders and navigation hierarchies.

From guidelines/components/tree-editor-color-picker.md

Properties, variants and anatomy of the Figma components.

Example tree built from Tree items.

Variants: 1

Row in a tree; levels 0–2.

Variants: 18

Property Type / options
Label text
Icon swap instance swap (icon)
Type Folder · File
Level 0 · 1 · 2
State Default · Hover · Selected

Do

  • Use for files and categories.
  • Show expand and collapse chevrons.
  • Highlight the selected item.

Forbidden

  • Never nest deeper than four levels.
  • Never use a tree for flat lists.
  • Never load a huge tree at once — load children on expand.