https://github.com/ipwill/boxer
Simple UX/UI layout designer that runs in the browser.
https://github.com/ipwill/boxer
ai cross-platform html javascript layout-engine localhost spa uiux uiuxdesigner webapp
Last synced: 7 months ago
JSON representation
Simple UX/UI layout designer that runs in the browser.
- Host: GitHub
- URL: https://github.com/ipwill/boxer
- Owner: ipwill
- License: mit
- Created: 2024-10-26T21:12:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-02T16:21:51.000Z (over 1 year ago)
- Last Synced: 2025-07-03T14:09:35.230Z (7 months ago)
- Topics: ai, cross-platform, html, javascript, layout-engine, localhost, spa, uiux, uiuxdesigner, webapp
- Language: JavaScript
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Boxer
Draw boxes on a grid, nest them, and get the corresponding JSON structure. Built this mainly for generating JSON to feed a chatbot to get a starting layout for prototyping.

*Design layouts visually with an intuitive grid system*
## Features
### Box Creation & Nesting

*Click and drag to resize boxes, nest them for complex layouts*
- Click & drag to create boxes
- Nest elements
- Real-time JSON output
- Local saves
- CSS editor
- Undo/redo
## Box Types
```css
div { background: lightblue; } # Standard block
span { background: tomato; } # Inline element
flex { background: lightgreen; } # Flexbox container
block { background: moccasin; } # Block element
```
## Usage
1. Click and drag to create boxes
2. Use select mode to move/resize
3. CSS mode to customize styles
4. Local saves to keep your work
## Example Output
```json
{
"elements": [{
"type": "div",
"name": "ab-div",
"styles": {
"position": "absolute",
"left": "100px",
"top": "50px",
"width": "200px",
"height": "100px"
}
}]
}
```
Built with vanilla JS. Feel free to use/modify!