Description
sl-vue-tree is a customizable, draggable tree component for Vue.js. You give it an array of nodes, and it displays them as an expandable tree that users can rearrange by dragging. The README lists its props, which control behavior such as multiselect, the expand and collapse button, and drag edges. For example, allowMultiselect turns multiselect on or off, allowToggleBranch shows or hides the expand button, and edgeSize sets how close to a folder's top or bottom edge a drop places the item before or after the folder instead of inside it. Drag scrolling is controlled by a scroll area height and a maximum scroll speed. The multiselect key defaults to Control or Meta. The component emits events that return node objects, and you can read the list of nodes from a computed property. The README says Vue 3 support is coming soon, and points to a separate project called sl-vue-tree-next. The installation instructions are on the README, and a demo is linked from the top of the page. The source is public on GitHub under the holiber organization. It suits Vue developers who need a draggable tree.…
Highlights
- Draggable tree component for Vue
- Multiselect with configurable keys
- Configurable drop edges and drag scrolling
- Events return node objects
Ratings & Reviews
No ratings yet
Be the first to rate sl-vue-tree.
People also visit

vuedraggable-plus
Vue component allowing drag-and-drop sorting module, support Vue>=v3 or Vue>=2.7
vue-json-pretty
A JSON tree view component that is easy to use and also supports data selection

react-complex-tree
Unopinionated Accessible Tree Component with Multi-Select and Drag-And-Drop
sl-vue-tree FAQ
What is sl-vue-tree?
It is a customizable, draggable tree component for Vue.js.
Does it support Vue 3?
Not in this repository. The README says Vue 3 support is coming and points to sl-vue-tree-next.
How do I configure it?
Use props such as allowMultiselect, allowToggleBranch, edgeSize, scrollAreaHeight and maxScrollSpeed, documented in a table in the README.
Where is the source?
The code is public on GitHub under the holiber organization.
What are the best sl-vue-tree alternatives?
Popular alternatives to sl-vue-tree include vuedraggable-plus, vue-json-pretty and react-complex-tree. See all sl-vue-tree alternatives




















