Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

File tree Gratuit

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

Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

  • Code tools, docs, file pickers.

Pas pour

  • Deep trees over six levels.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
treeObligatoireTreeNode[]
onOpen(path: string) => void

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera File tree comme prévu.

Page structureGratuit

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

$npx velvo skill page-structure
Lire la skill
Spacing and buttonsGratuit

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

$npx velvo skill spacing-and-buttons
Lire 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
SuivantStretch tabs