Taxonomy Depth Limit
- from @tealmac
A sortable tree that refuses any move, by pointer or keyboard, that would make it deeper than the allowed number of levels, and says so. Use this when menus or categories must stay shallow.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @tealmac/taxonomy-depth-limitRegistry dependencies2
- @tealmac/sortable-tree
- @tealmac/tree-view
Packages0
No npm packages are installed with it.
