Skip to the page
Tactile UI

Kit parts

Split panes

Two panes and a groove cut across the plate between them, with a knurled grip set in the groove. Drag the grip with a mouse, a pen or a finger, or give it focus and use the keys; Enter folds the first pane away and brings it back. Side by side or one over the other, each pane keeps the least room you give it.

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

The box is a grid of three tracks. The groove is a pseudo-element cut in with the well tokens; the grip is a small cap with its ridges drawn as a repeating gradient, lit on its top and left edges and shadowed down and right; held, it sinks under the plate. Pointer capture keeps a drag on the divider wherever the pointer goes, and while it is held the panes take no pointer events, so a frame inside one cannot catch the drag.

Variants

  • One over the other
  • The second pane folds

States

  • Rest
  • Hover
  • Held
  • Focus

Props and options

NameKindDescription
labelattributeWhat the panes are, for the divider’s name: “Files and preview” is read as “Resize files and preview”.
valueattributeThe first pane’s share of the box to start with.
min · maxattributeThe least and the most the first pane may take.
min-start · min-endattributeThe least room each pane keeps however small the box. These win over min and max when they cannot all hold.
orientationattributeSide by side, the default, or one over the other.
stepattributeHow far one arrow press moves it; Shift moves four steps.
collapseattributeWhich pane Enter folds away: the first, by default, or the second.
splitClamp · splitKey · splitTogglefunctionThe rules, pure: a share every limit allows, what a key does, and folding and unfolding.

Usage notes

Drag the grip, or press Tab to reach it and use the arrows; Shift moves four times as far. Home and End go to the least and the most each pane allows. Enter folds the file list away and brings it back, and so does a double click.

Accessibility

  • The divider is the WAI-ARIA window splitter.
  • Arrows move it, Home and End take it to its limits and Enter folds the pane away and back.
  • A folded pane is hidden and inert, so nothing in it can take focus while it is out of sight.
  • The divider takes the whole touch, so the page does not scroll under a drag.
  • Without the script the two panes sit side by side, or one over the other, with all their content in reach.

Scroll area

A region that scrolls, with its scrollbar made as a machined rail: a groove cut into the plate and a thumb like a fader cap riding in it. Scrolling itself is the browser’s own.

Panel

A face plate that groups what belongs together: a head, a rule, then the parts. Screws only on device-like panels.

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.