Semana de lanzamiento50 % de descuento en un año de AuteurVer planes
EspaciosHazte Pro
Todos los componentes

File tree Gratis

Folders open and close on a spring while their chevron turns; the file you pick is marked.

Abrir en el editor
Carácter
Juguetón
Regístrate gratis para descargar

Úsalo para

  • Code tools, docs, file pickers.

No para

  • Deep trees over six levels.

Props

Leídas del propio TypeScript del componente, así que siempre están al día.

PropTipoPor defecto
treeObligatoriaTreeNode[]
onOpen(path: string) => void

Mejóralo con una skill

Añade una a tu agente y usará File tree tal como se diseñó.

Page structureGratis

Decides where it goes on the page and what sits around it.

$npx velvo skill page-structure
Leer la skill
Spacing and buttonsGratis

Sizes and spaces it on the same scale as the rest of the page, so it sits right.

$npx velvo skill spacing-and-buttons
Leer la skill

Specs

Category
Navigation
Tier
Free
Built with
React and TypeScript
Files
17
Size
365 KB
Needs
framer-motion
Install
npx velvo add file-tree
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo free licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

navigationspringfreereact
SiguienteStretch tabs