Hierarchical tree component with lazy loading, keyboard navigation, and drag-and-drop for Lattice.

Maintainers

Package info

github.com/lattice-php/tree

Language:TypeScript

pkg:composer/lattice-php/tree

Transparency log

Statistics

Installs: 257

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.45.1 2026-08-08 13:00 UTC

README

Hierarchical tree component for Lattice — hierarchy rendering from inline nodes, callbacks, or Eloquent adjacency-list sources, with keyboard navigation, per-node actions, optimistic drag-and-drop moving, and lazy loading over a signed endpoint.

composer require lattice-php/tree

Composer is the only install — the package ships its React renderer as source and Lattice's Vite plugin compiles it into your app's bundle. No-build apps use the precompiled standalone module instead: run php artisan lattice:assets after installation.

Documentation: latticephp.com/packages/tree

Development happens in the lattice-php/lattice monorepo; this repository is a read-only split. Please open issues and pull requests there.