U-Board

Herb cabinet stock

Herbal clinic · Placed on a drawing (canvas) — a wall display, forty drawers

The forty drawers of a herbal clinic's cabinet on a wall display — each with the herb and what it is for and what is left against what it holds full, a ring on the ones that need an order (short of stock in amber, empty filled red); under the cabinet the day so far, the herbs used most this week and what is on its way. The drawers are one rule — the items of one part flowing eight to a row — and nothing is drawn by an element of its own: five built-in parts. Example data.

Herb cabinet stock

A board drawn with U-Board. Its values are example data written for it, not readings from a real site.

Open in the playground →

Board definition (JSON)

Everything that draws this board — where each value is read from (data), what is shown (parts), and where it sits and over what background (layout), in the same format U-Board’s editor and AI assistant write. The background drawing is long, so it is shortened here; the downloaded file has it whole.

Download — board.json
{
  "board": {
    "title": "약장 재고",
    "theme": "dark",
    "accent": "#c8553d",
    "skin": {
      "palette": {
        "paper": "#2b1f16",
        "ink": "#f1e6cf",
        "muted": "#b79f7c",
        "rule": "#6b4f33"
      },
      "frame": "plate",
      "radius": 2
    }
  },
  "statuses": {
    "enough": {
      "tone": "ok",
      "label": "충분"
    },
    "low": {
      "tone": "warn",
      "label": "발주"
    },
    "out": {
      "tone": "alarm",
      "label": "소진",
      "emphasis": "invert"
    }
  },
  "data": {
    "clinic": {
      "from": "clinic",
      "path": "/clinic/now",
      "time": "updatedAt",
      "fields": {
        "name": {},
        "date": {},
        "prepared": {
          "label": "오늘 조제",
          "unit": "첩"
        },
        "waiting": {
          "label": "대기 환자",
          "unit": "명"
        },
        "wait": {
          "label": "평균 대기",
          "unit": "분"
        }
      }
    },
    "drawers": {
      "from": "clinic",
      "path": "/clinic/drawers",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fields": {
        "state": {
          "state": "raw"
        },
        "name": {},
        "use": {},
        "stock": {
          "unit": "g"
        },
        "full": {},
        "reorder": {}
      }
    },
    "usage": {
      "from": "clinic",
      "path": "/clinic/usage",
      "list": "/value",
      "key": "herb",
      "answerTime": "/updatedAt",
      "fields": {
        "grams": {
          "unit": "g"
        }
      }
    },
    "deliveries": {
      "from": "clinic",
      "path": "/clinic/deliveries",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fields": {
        "herb": {},
        "note": {},
        "when": {}
      }
    }
  },
  "parts": {
    "title": {
      "as": "header",
      "of": "clinic",
      "title": "{{name}} · {{date}}",
      "kicker": "약장 재고판",
      "subtitle": "예시 데이터"
    },
    "drawer": {
      "as": "status-card",
      "each": "drawers",
      "title": "{{name}}",
      "subtitle": "{{use}}",
      "show": [
        "state"
      ],
      "meter": {
        "field": "stock",
        "max": "full",
        "form": "bar"
      },
      "highlight": "reorder"
    },
    "today": {
      "as": "stat-list",
      "of": "clinic",
      "title": "오늘",
      "show": [
        "prepared",
        "waiting",
        "wait"
      ]
    },
    "usage": {
      "as": "bar-list",
      "of": "usage",
      "title": "이번 주 많이 쓴 약재",
      "label": "herb",
      "value": "grams"
    },
    "coming": {
      "as": "list",
      "of": "deliveries",
      "title": "들어올 약재",
      "primary": "herb",
      "secondary": "note",
      "trailing": "when"
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1920,
      1160
    ],
    "place": {
      "title": [
        24,
        16,
        1872,
        84
      ],
      "drawer": {
        "flow": {
          "at": [
            24,
            112
          ],
          "cell": [
            223,
            136
          ],
          "gap": [
            12,
            10
          ],
          "columns": 8
        }
      },
      "today": [
        24,
        848,
        520,
        290
      ],
      "usage": [
        560,
        848,
        640,
        290
      ],
      "coming": [
        1216,
        848,
        680,
        290
      ]
    }
  }
}
Data (source answers JSON)

The sources the board reads and what they answered — only the fields the board reads. This page draws the board from these answers, with no server.

Download — data.json
{
  "connectors": [
    {
      "key": "clinic",
      "name": "예시 한의원 약장",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 한의원이 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-29T05:40:30.000Z",
  "responses": {
    "clinic": {
      "/clinic/now": {
        "name": "온새미 한의원",
        "date": "10월 29일 목요일 오후",
        "prepared": 38,
        "waiting": 5,
        "wait": 12,
        "updatedAt": "2026-10-29T05:40:00Z"
      },
      "/clinic/drawers": {
        "value": [
          {
            "id": "감초",
            "name": "감초",
            "use": "조화",
            "stock": 1650,
            "full": 2000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "당귀",
            "name": "당귀",
            "use": "보혈",
            "stock": 200,
            "full": 1500,
            "state": "low",
            "reorder": true,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "천궁",
            "name": "천궁",
            "use": "활혈",
            "stock": 900,
            "full": 1200,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "작약",
            "name": "작약",
            "use": "완급",
            "stock": 1100,
            "full": 1500,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "황기",
            "name": "황기",
            "use": "보기",
            "stock": 1800,
            "full": 2000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "인삼",
            "name": "인삼",
            "use": "대보원기",
            "stock": 90,
            "full": 800,
            "state": "low",
            "reorder": true,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "숙지황",
            "name": "숙지황",
            "use": "보음",
            "stock": 1300,
            "full": 1500,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "백출",
            "name": "백출",
            "use": "건비",
            "stock": 700,
            "full": 1200,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "복령",
            "name": "복령",
            "use": "이수",
            "stock": 1400,
            "full": 1500,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "진피",
            "name": "진피",
            "use": "이기",
            "stock": 620,
            "full": 1000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "계지",
            "name": "계지",
            "use": "해표",
            "stock": 500,
            "full": 800,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "마황",
            "name": "마황",
            "use": "발한",
            "stock": 0,
            "full": 600,
            "state": "out",
            "reorder": true,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "생강",
            "name": "생강",
            "use": "온중",
            "stock": 380,
            "full": 1000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "대추",
            "name": "대추",
            "use": "보중",
            "stock": 2100,
            "full": 2500,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "길경",
            "name": "길경",
            "use": "선폐",
            "stock": 760,
            "full": 900,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "시호",
            "name": "시호",
            "use": "소간",
            "stock": 430,
            "full": 1000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "황금",
            "name": "황금",
            "use": "청열",
            "stock": 150,
            "full": 900,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "갈근",
            "name": "갈근",
            "use": "해기",
            "stock": 950,
            "full": 1200,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "방풍",
            "name": "방풍",
            "use": "거풍",
            "stock": 310,
            "full": 800,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "독활",
            "name": "독활",
            "use": "거습",
            "stock": 540,
            "full": 800,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "두충",
            "name": "두충",
            "use": "보간신",
            "stock": 720,
            "full": 1000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "구기자",
            "name": "구기자",
            "use": "보간",
            "stock": 1250,
            "full": 1500,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "산수유",
            "name": "산수유",
            "use": "수렴",
            "stock": 260,
            "full": 1000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "맥문동",
            "name": "맥문동",
            "use": "윤폐",
            "stock": 880,
            "full": 1200,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "오미자",
            "name": "오미자",
            "use": "수렴",
            "stock": 90,
            "full": 900,
            "state": "low",
            "reorder": true,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "산약",
            "name": "산약",
            "use": "보비",
            "stock": 1180,
            "full": 1500,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "택사",
            "name": "택사",
            "use": "이수",
            "stock": 640,
            "full": 1000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "목통",
            "name": "목통",
            "use": "이뇨",
            "stock": 410,
            "full": 600,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "천마",
            "name": "천마",
            "use": "식풍",
            "stock": 120,
            "full": 500,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "반하",
            "name": "반하",
            "use": "조습",
            "stock": 60,
            "full": 700,
            "state": "low",
            "reorder": true,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "치자",
            "name": "치자",
            "use": "청열",
            "stock": 590,
            "full": 800,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "연교",
            "name": "연교",
            "use": "해독",
            "stock": 480,
            "full": 900,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "박하",
            "name": "박하",
            "use": "소풍",
            "stock": 300,
            "full": 600,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "금은화",
            "name": "금은화",
            "use": "해독",
            "stock": 420,
            "full": 800,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "결명자",
            "name": "결명자",
            "use": "명목",
            "stock": 980,
            "full": 1200,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "의이인",
            "name": "의이인",
            "use": "이습",
            "stock": 1500,
            "full": 2000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "향부자",
            "name": "향부자",
            "use": "이기",
            "stock": 700,
            "full": 1000,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "익모초",
            "name": "익모초",
            "use": "조경",
            "stock": 350,
            "full": 800,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "홍화",
            "name": "홍화",
            "use": "활혈",
            "stock": 240,
            "full": 500,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "오가피",
            "name": "오가피",
            "use": "거풍습",
            "stock": 610,
            "full": 900,
            "state": "enough",
            "reorder": false,
            "updatedAt": "2026-10-29T05:40:00Z"
          }
        ],
        "updatedAt": "2026-10-29T05:40:00Z"
      },
      "/clinic/usage": {
        "value": [
          {
            "herb": "감초",
            "grams": 640
          },
          {
            "herb": "대추",
            "grams": 520
          },
          {
            "herb": "생강",
            "grams": 480
          },
          {
            "herb": "당귀",
            "grams": 410
          },
          {
            "herb": "천궁",
            "grams": 360
          }
        ],
        "updatedAt": "2026-10-29T05:40:00Z"
      },
      "/clinic/deliveries": {
        "value": [
          {
            "id": "마황",
            "herb": "마황",
            "note": "600g — 소진",
            "when": "내일 오전",
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "당귀",
            "herb": "당귀",
            "note": "1,000g — 부족",
            "when": "모레",
            "updatedAt": "2026-10-29T05:40:00Z"
          },
          {
            "id": "인삼",
            "herb": "인삼",
            "note": "500g — 부족",
            "when": "다음 주 월요일",
            "updatedAt": "2026-10-29T05:40:00Z"
          }
        ],
        "updatedAt": "2026-10-29T05:40:00Z"
      }
    }
  }
}