E-commerce admin Live demo
Two tabs: a KPI dashboard and an orders table (inline rows, renders offline).
{
"contract_version": "0.1.0",
"service": {
"id": "shop-demo",
"name": "Shop — demo",
"tint": "indigo",
"tabs": [
{
"id": "summary",
"title": "Summary",
"icon": "chart.bar",
"page": "/showcases/shop/pages/summary.json"
},
{
"id": "orders",
"title": "Orders",
"icon": "cart",
"page": "/showcases/shop/pages/orders.json"
}
]
}
} {
"contract_version": "0.1.0",
"page": {
"id": "summary",
"title": "Summary",
"items": [
{
"type": "section",
"header": "Today",
"columns": 2,
"items": [
{
"type": "metric",
"title": "Revenue",
"value": "$12,480",
"trend": "+8%",
"trend_direction": "up",
"sentiment": "positive"
},
{
"type": "metric",
"title": "Orders",
"value": "146",
"trend": "+3%",
"trend_direction": "up",
"sentiment": "positive"
}
]
},
{
"type": "section",
"header": "Health",
"items": [
{
"type": "status",
"label": "Payments",
"role": "success"
},
{
"type": "status",
"label": "Fulfillment queue",
"role": "warning"
}
]
}
]
}
} {
"contract_version": "0.1.0",
"page": {
"id": "orders",
"title": "Orders",
"items": [
{
"type": "table",
"columns": [
{
"id": "order",
"title": "Order"
},
{
"id": "customer",
"title": "Customer"
},
{
"id": "total",
"title": "Total"
},
{
"id": "status",
"title": "Status"
}
],
"rows": [
{
"id": "142",
"cells": {
"order": "#142",
"customer": "Jane Doe",
"total": "$120",
"status": "paid"
}
},
{
"id": "143",
"cells": {
"order": "#143",
"customer": "John Roe",
"total": "$56",
"status": "pending"
}
},
{
"id": "144",
"cells": {
"order": "#144",
"customer": "Ada Lovelace",
"total": "$310",
"status": "paid"
}
}
]
}
]
}
} tabssectionmetricstatustable