Laravel EnsoLaravel Enso
Guide
Back End
Front End
GitHub
Guide
Back End
Front End
GitHub
  • Front End

    • Accessories
    • Addresses
    • Algolia
    • Audits
    • Auth
    • Bookmarks
    • Calendar
    • Card
    • Cargo Partner
    • Categories
    • Charts
    • Checkbox
    • Clipboard
    • Comments
    • Commercial
    • Companies
    • Confirmation
    • Currencies
    • Data Import
    • Date
    • Datepicker
    • Directives
    • Discounts
    • Divider
    • Documents
    • Dropdown
    • Dropdown Indicator
    • Eav
    • Emag
    • Emails
    • Enums
    • ERD
    • Facebook
    • Files
    • Filters
    • Financials
    • Forms
    • Frisbo
    • Google
    • Holidays
    • How to
    • Interactions
    • Inventory
    • IO
    • Laravel Validation
    • Loader
    • Localisation
    • Logs
    • Measurement Units
    • Meili Search
    • Menus
    • Mixins
    • Modal
    • Money
    • Monitored Emails
    • Notifications
    • Orderable Trees
    • Packaging Units
    • Pagination
    • People
    • Permissions
    • Product Lots
    • Products
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Questionnaires
    • Quick View
    • Range Slider
    • Rating
    • Roles
    • Route Mapper
    • Sale Channels
    • Scroll to Top
    • Search Mode
    • Select
    • Sentry
    • Services
    • Smart Bill
    • SMS Advert
    • Strings
    • Switch
    • Tables
    • Tabs
    • Tasks
    • Teams
    • Textarea
    • Themes
    • Ticketing
    • Toastr
    • Transitions
    • Tree View
    • Tutorials
    • Typeahead
    • Typesense
    • UI
    • Uploader
    • UPS
    • User Groups
    • Users
    • Virtual Call Center
    • Vouchers
    • Webshop
    • WYSIWYG

Orderable Trees

LicenseStableDownloadsVueJavaScriptSCSSnpmIssuesMerge Requests

Description

Orderable Trees provides a draggable nested tree widget with add, edit, delete, filter, and selection flows.

Installation

Install the package:

yarn add @enso-ui/orderable-trees

The component can be used inside or outside the Enso ecosystem.

Features

  • exports the Tree component from the Bulma entrypoint
  • supports nested drag-and-drop through vuedraggable
  • supports inline add, edit, delete, filter, and selection flows
  • exposes item and controls slots for custom rendering

Usage

<script setup>
import Tree from '@enso-ui/orderable-trees/bulma';
</script>

<Tree
    :route-group="routeGroup"
    :editable="true"
    @selected="selected = $event" />

API

Default export

Import: @enso-ui/orderable-trees/bulma

Tree

Props:

  • editable: boolean = false
  • expanded: array = []
  • objects: boolean = false
  • routeGroup: string | Function
  • title: string | null = null
  • modelValue: number | object | null = null

Emits:

  • loaded
  • selected
  • deselected
  • update:modelValue

Slots:

  • item
  • controls

Deep components:

  • src/bulma/components/Items.vue owns nested drag-and-drop groups
  • src/bulma/components/Item.vue owns expand/collapse, inline edit, delete, and selection behavior

Depends On

  • @enso-ui/confirmation ↗
  • @enso-ui/directives ↗
  • @enso-ui/laravel-validation ↗
  • @enso-ui/loader ↗

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

License

MIT

Edit this page on GitHub
Last Updated: 4/21/2026, 1:04:44 PM
Prev
Notifications
Next
Packaging Units