Components
Browse free customizable Tailwind CSS Tree View. Choose from basic, nested, bordered, arrowed, and other styles to collapse and expand UI elements.
Closes the currently open element at the group level by removing the data-hs-accordion-always-open.
You may select multiple folders/files by holding shift, ctrl | cmd key.
Also note that some of the demos below have the ability to Drag n' Drop items, this uses the external library Sortable.js, make sure it's also connected on the page.
Certain JavaScript Helpers in Preline UI make use of Lodash plugin. Don't forget to install it, if you haven't done so already: npm i lodash
You may select multiple folders/files by holding shift, ctrl | cmd key.
This demo uses Sortable.js to drag n' drop items. You may select multiple folders/files by holding shift, ctrl | cmd key.
This demo uses Sortable.js to drag n' drop items. You can select folders/files by checking the checkboxes.
Provides destroy method that helps to destroy a tree view.