Back to library

HTML / INTERFACE

Disclosure Rail

A restrained accordion that keeps its hierarchy visible while revealing focused supporting information.

Ready
LIVE RENDERERHTML / TS · VARIANT 01
RUNNING
BUILD METHODThree readable layers.

Name the action before adding motion.

Make every state readable before it moves.

Return control immediately after the action.

SEMANTIC HTMLTYPESCRIPTKEYBOARD READY
03 VARIANTSSELECT A STARTING STATE
01
02
03
RENDERERHTML / TS
DEPENDENCIESReact + TypeScript + CSS
OUTPUTSemantic interface component
MOTIONReduced-safe
WHAT IT DOES

A restrained accordion that keeps its hierarchy visible while revealing focused supporting information.

BEST FOR
  • Product navigation
  • Account flows
  • Application shells
KEY FEATURES
  • ARIA-expanded disclosure with contained height transitions
  • Original dependency-free React and TypeScript implementation
  • Pointer, touch and keyboard-safe controls
  • Responsive compact and reduced-motion states
PERFORMANCE

No animation package or external preview asset is required. Layout is container-scoped and decorative motion is disabled when reduced motion is requested.

INTERACTION

Pointer, touch, horizontal trackpad and keyboard states use the same underlying component state.

ACCESSIBILITY

Native landmarks and controls preserve reading order, visible focus and keyboard access. Motion never carries the only meaning.

BEHAVIOR

Built to move without taking over.

USE IT

Sign in, copy the source, rename it, tune the values and ship it inside your own system.