📘 MaterialLab Playground Documentation
Version: v0.1.0-rc
MaterialLab is a browser-based, drag-and-drop widget playground with dynamic themes and persistent customization features.
🆕 New in v0.1.0-rc
✅ Better Widget Add Flow
Replaces the old prompt() method with an intuitive widget picker:
- Accessible via a floating action button or modal.
- Displays icons for available widget types: Weather, Clock, Battery.
- Designed for a smoother, more visual experience.
✅ Widget State Persistence
All added widgets are now saved and restored on reload:
- Type: Weather, Clock, Battery, etc.
- Position: X/Y coordinates in the container.
- Content or Settings: e.g., selected city for weather.
Data is stored in localStorage and used to rebuild the layout on load.