What problem does it solve?
Provides a complete guide and patterns to create interactive, grid-based dashboard UIs where panels can be dragged, resized, floated, and persisted so developers avoid building fragile custom layout logic and inconsistent UX.
Core Features & Use Cases
- Panel configuration: Define panels with sizeX/sizeY, row/col, headers, and templated content for flexible widgets.
- Drag & Resize: Enable controlled dragging and resizable handles with event hooks (dragStart, drag, dragStop, resizeStart, resize, resizeStop).
- Programmatic control: Add, remove, move, update, and resize panels via methods like addPanel, removePanel, movePanel, updatePanel, resizePanel, and serialize.
- Floating & Responsive: Automatic floating to fill gaps and mediaQuery-driven stacking for mobile breakpoints.
- Persistence & State: Save and restore layouts via serialize(), enablePersistence or custom localStorage strategies.
- Event-driven workflows: Use change, created, destroyed and detailed event argument patterns to integrate with application logic.
- Use cases: Analytics dashboards, real-time monitoring hubs, customizable user dashboards, and admin portals requiring saved user layouts.
Quick Start
Use this skill to implement a responsive DashboardLayout with draggable, resizable panels, enable persistence, and wire up drag/resize event handlers using the provided API examples.