Skip to content

Luxenonbeterris/vue-folder-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“‚ Vue Folder Tree β€” Animated Β· Accessible Β· Accurate

A production-ready, recursive folder tree component built with Vue 3 + Vite.


✨ Features

  • βœ… Smooth expand/collapse animations
  • βœ… Keyboard navigation (↑ ↓ Home End Space/Enter)
  • βœ… ARIA roles for screen readers
  • βœ… Optional checkboxes
  • βœ… Simple API (props + events)
  • βœ… Zero dependencies

πŸ”— Live Demo

🌐 https://luxenonbeterris.github.io/vue-folder-tree


πŸ“¦ Install & Run Locally

# install deps
pnpm install    # or: npm install / yarn

# start dev server
pnpm dev        # or: npm run dev

πŸ–Ό Screenshots

Home Screenshot
Tree Screenshot


πŸ—‚ Data Model

type TreeNode = {
  id: string | number
  name: string
  isLeaf?: boolean
  children?: TreeNode[]
}

πŸ›  Tech & Scripts

Stack: Vue 3 Β· Vite Β· TypeScript SFCs

Scripts:

  • dev β€” run locally
  • build β€” production build
  • preview β€” preview built app

πŸ“œ License

MIT License

  • βœ… Free to use, modify, distribute
  • βœ… Great for portfolio/demo use
  • ❌ No warranty