Skip to content
Esc
navigateopen⌘Jpreview

file-tree

Progressive repository navigation with active file state.

The same runtime that renders the export. Scrub to any frame, switch format, and edit the fixture props.

Installation

pnpm odori add @odori/file-tree

Source is copied into videos/components/file-tree/ and belongs to your repository. odori diff compares it with upstream later; odori update applies the change you accept. It has no registry dependencies.

Timing contract

Every registry component declares how it behaves in time.odori test fails a cut that violates these.

Family
Developer proof
Aspect ratios
16:9 · 1:1
Recommended duration
150 frames · 5s
Minimum duration
60 frames · 2s
Entrance
50 frames
Exit
0 frames
Reduced motion
rows appear together
Requires
mono font
Content limits
nodes ≤ 10, nameLength ≤ 28

Props

PropTypeDefaultRequired
nodesFileTreeNode[]Yes
activeIndexRow index that ends up highlighted.number0
titlestring"videos/"