Shadcn
shadcn.io › home › templates › shadcn tree view
Shadcn Tree View - Free React React Template
October 8, 2025 - Shadcn Tree View is a React component built with TypeScript, Tailwind CSS, and shadcn/ui, designed for creating hierarchical tree views with nested, expandable, and collapsible data lists that support custom icons, action buttons, drag-and-drop ...
GitHub
github.com › MrLightful › shadcn-tree-view
GitHub - MrLightful/shadcn-tree-view: A Shadcn UI component for hierarchical lists of data with nested levels that can be expanded and collapsed. · GitHub
npx shadcn add "https://mrlightful.com/registry/tree-view" type TreeProps = React.HTMLAttributes<HTMLDivElement> & { data: TreeDataItem[] | TreeDataItem; initialSelectedItemId?: string; onSelectChange?: (item: TreeDataItem | undefined) => void; renderItem?: (params: TreeRenderItemParams) => React.ReactNode; expandAll?: boolean; defaultNodeIcon?: React.ComponentType<{ className?: string }>; defaultLeafIcon?: React.ComponentType<{ className?: string }>; }; interface TreeDataItem { id: string; name: string; icon?: React.ComponentType<{ className?: string }>; selectedIcon?: React.ComponentType<{ c
Starred by 370 users
Forked by 23 users
Languages TypeScript 95.3% | JavaScript 4.7%
Videos
What is Shadcn Tree View?
A shadcn-ui component for displaying hierarchical data with collapsible nodes, custom icons, and drag-and-drop support.
allshadcn.com
allshadcn.com › home › tools › shadcn tree view
Shadcn Tree View | All Shadcn
Is Shadcn Tree View free?
Yes, it’s fully free under the MIT license.
allshadcn.com
allshadcn.com › home › tools › shadcn tree view
Shadcn Tree View | All Shadcn
Does it work outside shadcn-ui projects?
It’s designed for shadcn-ui, so non-shadcn-ui use requires replacing dependencies like shadcn-ui’s utilities.
allshadcn.com
allshadcn.com › home › tools › shadcn tree view
Shadcn Tree View | All Shadcn
All ShadCN
allshadcn.com › home › tools › shadcn tree view
Shadcn Tree View | All Shadcn
June 19, 2025 - TreeView: The root component for rendering hierarchical data. TreeDataItem: Interface for defining tree items with properties like id, name, children, icon, and actions. Shadcn Tree View is completely free under the MIT license, with no premium features or paid tiers. React: Core framework for the component.
Reddit
reddit.com › r/reactjs › i made a tree view component for shadcn-ui
r/reactjs on Reddit: I made a tree view component for shadcn-ui
February 4, 2025 -
It's open source under the MIT license, I thought I would share it if anyone needs it :)
Top answer 1 of 5
4
Nifty, I might finagle with it 🙃 I’ll let you know how that turns out if I do 😎
2 of 5
2
I haven't tried it yet, on the read me: "Context menu with file/folder specific actions" is it possible to add custom action button to the right or left of each item? Mainly my use case would be accessibility issue.
GitHub
github.com › shadcn-ui › ui › discussions › 2329
Tree Component? · shadcn-ui/ui · Discussion #2329
February 2, 2024 - I'd love it if shadcn-ui had a Tree component. I frequently find myself looking for this kind of component. Prior art: https://mui.com/x/react-tree-view/ https://github.com/brimdata/react-arborist ...
Author shadcn-ui
Reddit
reddit.com › r/reactjs › i made a tree view component for shadcn
r/reactjs on Reddit: I made a tree view component for ShadCN
1 month ago -
I was looking for a tree view component that is sleek yet supports all of the following:
- Drag and drop within a single tree
- Drag and drop across multiple trees
- Lazy loading (on expansion)
But couldn't find any, so I decided to make one myself!
https://github.com/ggoggam/shadcn-treeview
DEMO: https://ggoggam.github.io/shadcn-treeview/
GitHub
github.com › neigebaie › shadcn-ui-tree-view
GitHub - neigebaie/shadcn-ui-tree-view: Shadcn-ui based tree view, with multi-selection, drag, and more! · GitHub
A feature-rich tree view component for shadcn/ui with checkboxes, context menus, search, and visual feedback. ... npm install framer-motion @radix-ui/react-context-menu @radix-ui/react-collapsible @radix-ui/react-hover-card
Starred by 435 users
Forked by 10 users
Languages TypeScript 94.9% | JavaScript 2.6% | CSS 2.5%
Shadcn Templates
shadcntemplates.com › theme › mrlightful-shadcn-tree-view
Shadcn Tree View - Shadcn Templates
201 · Feb 6, 2025open-source · reacttailwind · WebsiteGitHub · The Tree View component by Shadcn UI is designed to facilitate navigation through hierarchical lists of data with expandable and collapsible nested levels.
Achromatic
shadcn-treeview.achromatic.dev › docs › getting-started › introduction
Introduction | Shadcn Treeview
September 1, 2022 - Shadcn Treeview provides an accessible, customizable tree view component for React applications.