Components
← All components

Tree View

stimeo--tree-view

A collapsible tree you can move through, open and close, and jump around by first letter.

  • Core
  • Tree View

Makes a folder-like tree workable from the keyboard, reading the parent and child structure from your nesting. Tab stops on the tree once. The up and down keys move between the items you can see, Home and End jump to the first and last, and typing a character jumps to the item starting with it. The right key opens a closed parent, or steps into its first child when it is already open. The left key closes an open parent, or goes up to the parent when it is not. Enter, Space or a click selects one. Opening, closing and selecting are each reported and announced.

running
  • app
    • application.rb
  • README.md
  • Gemfile

Keyboard

KeyAction
↓ / ↑ Move to the next / previous visible item.
Expand a collapsed parent, else step into the first child. Under RTL this is ArrowLeft.
Collapse an expanded parent, else step to the parent item. Under RTL this is ArrowRight.
Home / End Move to the first / last visible item.
Enter / Space Select the item.
Printable characters Typeahead to the next item whose label starts with the text; repeating one character cycles the matches.