For AI agents: the documentation index is at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Toolbox
Move items between the grid and toolbox.
How it works
A holding area beside the grid that items can be moved into and back out of. Sending an item to the toolbox removes it from the layout array and records it separately; restoring it puts an entry back and lets the compactor find it a home.
This keeps the grid itself simple — there is no second drag surface to coordinate, just two pieces of state and a pair of buttons. For a version where items are dragged between the two rather than clicked, see the drag from outside example.
Installation
npx shadcn@latest add https://blode.co/dnd-grid/r/toolbox-example.jsonPublished with Edda