Skip to content

Adding and Removing Items ​

Add or remove entries from the layout array to change the grid at runtime. GridLayout updates the rendered items immediately, which works well for dashboards and editors with user-managed content.

Try it: Add a new item, select one to remove, and toggle dragging or resizing. The coordinate list updates with the layout.

Live demo

Released under the MIT License.