penframe
Version:
A lightweight DSL-based wireframe and UI structure visualization tool.
34 lines • 1 kB
JSON
[
{
"type": "config",
"name": "pc",
"width": 800,
"height": 600,
"title": "Table Test - Complex Cells"
},
{
"type": "table",
"headers": ["Select", "User", "Role", "Enabled"],
"widths": [80, 250, 250, 100],
"rows": [
[
{ "type": "checkbox", "value": true },
{ "type": "text", "value": "administrator", "color": "#0066cc" },
{ "type": "textbox", "placeholder": "Admin" },
{ "type": "checkbox", "value": true }
],
[
{ "type": "checkbox", "value": false },
{ "type": "text", "value": "support-user", "color": "#0066cc" },
{ "type": "textbox", "placeholder": "Support" },
{ "type": "checkbox", "value": true }
],
[
{ "type": "checkbox", "value": false },
{ "type": "text", "value": "guest-user" },
{ "type": "textbox", "placeholder": "Guest" },
{ "type": "checkbox", "value": false }
]
]
}
]