Clow

File Tree

A paper file tree with fixed outer height: open/close animates inside a scrollport so the card and page never reflow. Icons, chevrons, meta, header and five branch animations are all tunable.

Draw

draw a card
$npx shadcn@latest add @clow/file-tree
First time? Point @clow at the registry

Once per project, add the registry to your components.json. Then draw any card by name.

"registries": {
  "@clow": "https://clow.cards/r/{name}.json"
}
Full setup →

Playground

props
<FileTree />

Examples

basic

Props

proptypedefault
showIconsbooleantrue
showChevronsbooleantrue
showMetabooleantrue
showHeaderbooleantrue
heightnumber320
animatecollapse | fade | slide | scale | blurcollapse