Tree in Figma
Nested items people open and close, like folders, categories or permissions.
Use a Tree on its own for browsing, like a file list, or for picking several with checkboxes, like permissions for a role. Use Tree select to pick from nested options in a form, like a team inside a department.
Do
- Open the branch that holds the current or chosen item.
- Use icons to tell folders from files.
- Use checkboxes when people pick several; let branches pick everything inside.
- Turn on search in Tree select when the tree is long.
Don't
- Nest deeper than four levels; split it into pages instead.
- Use a Tree for a flat list.
- Hide actions people need inside closed branches.
- Mix checkboxes and single picking in one tree.