Skip to the page
Tactile UI

Kit parts

File tree

Folders and files as a real tree, printed like a wiring diagram: traces with an elbow into every item, chevrons that turn, and the chosen file set in a recess with its lamp lit. Written as a plain nested list.

On this page
  1. Anatomy
  2. Variants
  3. States
  4. Props and options
  5. Usage notes
  6. Accessibility
  7. Related parts

Seats open in 11 days. Want one email that morning?

Anatomy

How it is built, line by line, comes with its code and styling.

Variants

  • Folders closed
  • With meta

States

  • Rest
  • Hover
  • Focus
  • Chosen

Props and options

NameKindDescription
labelattribute
data-openattributeStarts open. Folders on the path to the chosen item open anyway.
data-metaattributeA short fact at the row’s end: a size, a count.
valuepropertyThe chosen item’s path, names joined by “/”.
changeeventA different item was chosen.
ArrowDown · ArrowUpkeyboardNext and previous visible item.
ArrowRight · ArrowLeftkeyboardOpen a folder, then step into it; close it, then step out to its parent.
Home · EndkeyboardFirst and last visible item.
Enter · SpacekeyboardChoose the item; on a folder, also open or close it.
*keyboardOpen every folder beside the focused one.
LetterskeyboardJump to the next item whose name starts with what you typed.

Usage notes

Click, or Tab in and use the arrows: Right opens, Left closes, Home/End, and type a name to jump. Enter chooses.

Accessibility

  • The WAI-ARIA tree view pattern. The part writes all of it from plain markup.
  • One tab stop for the whole tree (roving tabindex); the arrows do the rest. The focus ring draws on the row, not the whole subtree.
  • Icons and chevrons are hidden from screen readers; the name is read once.

Side rail

App navigation in a panel: the current page is a recess with its lamp lit, links grouped under printed labels.

List

Rows in a rack: a mark, a title, a second line and a fact or a key at the end. Chosen rows sink into a recess with their check key latched; in a running order, a row lifts out of the rack on its skirt and slides past the others, from the keyboard or by its grip.

Lamp

The only colour in the kit: a lamp that is on. Green is on, amber is waiting, red is recording or failing, blue is linked, white is standing by. Always next to words.