U-Board

A wholesale produce market’s dawn auction — a newspaper front page

Produce wholesale · The halls’ auctions and the prices by item

A wholesale produce market’s dawn auction set as a newspaper front page — black ink and one red on newsprint, a nameplate across the top, a serif headline over its deck, column rules, and the market’s plan printed as a halftone picture with its caption. Each auction hall is a boxed item on the plan: a black bar filling with a red tag while its auction is on, a grey bar once it has ended, a dashed box with an empty bar while it waits. The price table marks a rise with a red triangle up and a fall with a black triangle down, so the direction reads without the colour. Beside them the cabbage price over a week, the produce brought in, the auction’s progress and the lots sold, and the notices. The market is made up. Example data.

A wholesale produce market’s dawn auction — a newspaper front page

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": {
    "theme": "light",
    "accent": "#a5161d"
  },
  "elements": {
    "masthead": {
      "template": "<header class=\"mh\"><span>{{date}}</span><h1>{{name}}</h1><p><b>{{edition}}</b> {{time}} 현재</p></header>",
      "style": ".mh{height:100%;box-sizing:border-box;display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:20px;padding-bottom:6px;font-family:\"Noto Serif KR\", \"Nanum Myeongjo\", \"Batang\", serif;color:#141414}\nh1{margin:0;font-size:64px;font-weight:900;letter-spacing:.08em;line-height:1}\nspan{font-size:16px}\np{margin:0;justify-self:end;font-size:16px}\nb{padding:2px 10px;color:#f1ede3;background:#a5161d;font-weight:700}",
      "props": {
        "name": "string",
        "edition": "string",
        "date": "string",
        "time": "string"
      }
    },
    "lead": {
      "template": "<article class=\"ld\"><h2>{{headline}}</h2><p>{{deck}}</p></article>",
      "style": ".ld{height:100%;box-sizing:border-box;display:grid;align-content:center;gap:10px;font-family:\"Noto Serif KR\", \"Nanum Myeongjo\", \"Batang\", serif;color:#141414}\nh2{margin:0;font-size:40px;font-weight:900;line-height:1.15;letter-spacing:-.01em}\np{margin:0;font-size:17px;line-height:1.55;border-left:4px solid #a5161d;padding-left:12px}",
      "props": {
        "headline": "string",
        "deck": "string"
      }
    },
    "hall": {
      "template": "<section class=\"hl {{h.state}}\"><header><b>{{h.name}}</b><span>{{#h.start}}{{h.start}} {{/h.start}}{{word}}</span></header><strong>{{h.item}}</strong><i style=\"--p: {{h.progress}}\"><u></u></i><small>{{h.note}}</small></section>",
      "style": ".hl{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr auto auto;gap:8px;padding:12px 16px;background:#f1ede3;border:2px solid #141414;box-shadow:4px 4px 0 #141414;font-family:\"Noto Serif KR\", \"Nanum Myeongjo\", \"Batang\", serif;color:#141414}\nheader{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid #141414;padding-bottom:4px}\nb{font-size:18px;font-weight:800}\nspan{font:700 13px \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;padding:1px 8px;border:1.5px solid #141414}\nstrong{align-self:center;font-size:30px;font-weight:900}\ni{display:block;height:14px;border:1.5px solid #141414;background:#f1ede3}\nu{display:block;height:100%;width:calc(var(--p) * 1%);background:#141414}\nsmall{font:13px \"Noto Sans KR\", \"Malgun Gothic\", sans-serif}\n.now span{color:#f1ede3;background:#a5161d;border-color:#a5161d}\n.done{color:#4b4740}\n.done u{background:#8a857b}\n.done span{color:#f1ede3;background:#8a857b;border-color:#8a857b}\n.wait{border-style:dashed;box-shadow:none}",
      "props": {
        "h": "object",
        "word": "string"
      }
    },
    "prices": {
      "template": "<section class=\"pr\"><h3>오늘의 경락가</h3><table><thead><tr><th>품목</th><th>단위</th><th>경락가</th><th>전일 대비</th></tr></thead><tbody>{{#items}}<tr class=\"{{dir}}\"><td>{{item}}</td><td>{{unit}}</td><td>{{price}}</td><td><i></i>{{change}}</td></tr>{{/items}}</tbody></table></section>",
      "style": ".pr{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr;gap:10px;font-family:\"Noto Serif KR\", \"Nanum Myeongjo\", \"Batang\", serif;color:#141414}\nh3{margin:0;font-size:24px;font-weight:900;border-bottom:3px double #141414;padding-bottom:6px}\ntable{width:100%;border-collapse:collapse;align-self:start}\nth{font:600 13px \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;text-align:left;padding:6px 4px;border-bottom:1.5px solid #141414}\ntd{font-size:17px;padding:10px 4px;border-bottom:1px solid #bdb7aa}\ntd:nth-child(3),th:nth-child(3),td:nth-child(4),th:nth-child(4){text-align:right}\ntd:nth-child(3){font-weight:800}\ntd:nth-child(4){font-family:\"Noto Sans KR\", \"Malgun Gothic\", sans-serif;font-weight:700;white-space:nowrap}\ni{display:inline-block;width:0;height:0;margin-right:6px;vertical-align:middle}\n.up td:nth-child(4){color:#a5161d}\n.up i{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:10px solid #a5161d}\n.down i{border-left:6px solid transparent;border-right:6px solid transparent;border-top:10px solid #141414}\n.flat i{width:12px;height:3px;background:#8a857b}\n.flat td:nth-child(4){color:#8a857b}",
      "props": {
        "items": "list"
      }
    },
    "figures": {
      "template": "<dl class=\"fg\">{{#items}}<div><dt>{{label}}</dt><dd>{{value}}</dd><small>{{note}}</small></div>{{/items}}</dl>",
      "style": ".fg{margin:0;height:100%;box-sizing:border-box;display:grid;align-content:space-between;font-family:\"Noto Serif KR\", \"Nanum Myeongjo\", \"Batang\", serif;color:#141414}\ndiv{display:grid;padding:10px 0;border-bottom:1px solid #141414}\ndiv:first-child{border-top:3px solid #141414}\ndt{font:700 14px \"Noto Sans KR\", \"Malgun Gothic\", sans-serif}\ndd{margin:2px 0;font-size:38px;font-weight:900;line-height:1.1}\nsmall{font:13px \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#4b4740}",
      "props": {
        "items": "list"
      }
    },
    "notices": {
      "template": "<section class=\"nt\"><h3>알림</h3><ul>{{#items}}<li><b>{{time}}</b>{{text}}</li>{{/items}}</ul></section>",
      "style": ".nt{height:100%;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr;gap:8px;font-family:\"Noto Serif KR\", \"Nanum Myeongjo\", \"Batang\", serif;color:#141414}\nh3{margin:0;padding:2px 0;font-size:20px;font-weight:900;color:#f1ede3;background:#141414;text-align:center}\nul{margin:0;padding:0;list-style:none;display:grid;align-content:start;gap:12px}\nli{font-size:16px;line-height:1.5;padding-bottom:10px;border-bottom:1px dotted #141414}\nb{display:block;font:800 14px \"Noto Sans KR\", \"Malgun Gothic\", sans-serif;color:#a5161d}",
      "props": {
        "items": "list"
      }
    }
  },
  "data": {
    "now": {
      "from": "market",
      "path": "/market/now",
      "time": "updatedAt",
      "fresh": 600,
      "fields": {
        "name": {},
        "edition": {},
        "date": {},
        "time": {}
      }
    },
    "lead": {
      "from": "market",
      "path": "/market/lead",
      "time": "updatedAt",
      "fresh": 600,
      "fields": {
        "headline": {},
        "deck": {}
      }
    },
    "halls": {
      "from": "market",
      "path": "/market/halls",
      "time": "updatedAt",
      "fresh": 600,
      "fields": {
        "h1": {
          "at": "/value/h1"
        },
        "h2": {
          "at": "/value/h2"
        },
        "h3": {
          "at": "/value/h3"
        },
        "h4": {
          "at": "/value/h4"
        },
        "h1-word": {
          "at": "/value/h1/state",
          "names": {
            "now": "경매 중",
            "done": "끝",
            "wait": "시작"
          }
        },
        "h2-word": {
          "at": "/value/h2/state",
          "names": {
            "now": "경매 중",
            "done": "끝",
            "wait": "시작"
          }
        },
        "h3-word": {
          "at": "/value/h3/state",
          "names": {
            "now": "경매 중",
            "done": "끝",
            "wait": "시작"
          }
        },
        "h4-word": {
          "at": "/value/h4/state",
          "names": {
            "now": "경매 중",
            "done": "끝",
            "wait": "시작"
          }
        }
      }
    },
    "prices": {
      "from": "market",
      "path": "/market/prices",
      "time": "updatedAt",
      "fresh": 600,
      "fields": {
        "value": {}
      }
    },
    "cabbage": {
      "from": "market",
      "path": "/market/cabbage",
      "list": "/value",
      "fresh": 600,
      "answerTime": "/updatedAt"
    },
    "figures": {
      "from": "market",
      "path": "/market/figures",
      "time": "updatedAt",
      "fresh": 600,
      "fields": {
        "value": {}
      }
    },
    "notices": {
      "from": "market",
      "path": "/market/notices",
      "time": "updatedAt",
      "fresh": 600,
      "fields": {
        "value": {}
      }
    }
  },
  "parts": {
    "masthead": {
      "as": "element",
      "element": "masthead",
      "of": "now",
      "bind": {
        "name": "name",
        "edition": "edition",
        "date": "date",
        "time": "time"
      }
    },
    "lead": {
      "as": "element",
      "element": "lead",
      "of": "lead",
      "bind": {
        "headline": "headline",
        "deck": "deck"
      }
    },
    "hall-h1": {
      "as": "element",
      "element": "hall",
      "of": "halls",
      "bind": {
        "h": "h1",
        "word": "h1-word"
      }
    },
    "hall-h2": {
      "as": "element",
      "element": "hall",
      "of": "halls",
      "bind": {
        "h": "h2",
        "word": "h2-word"
      }
    },
    "hall-h3": {
      "as": "element",
      "element": "hall",
      "of": "halls",
      "bind": {
        "h": "h3",
        "word": "h3-word"
      }
    },
    "hall-h4": {
      "as": "element",
      "element": "hall",
      "of": "halls",
      "bind": {
        "h": "h4",
        "word": "h4-word"
      }
    },
    "prices": {
      "as": "element",
      "element": "prices",
      "of": "prices",
      "bind": {
        "items": "value"
      }
    },
    "cabbage": {
      "as": "chart.line",
      "of": "cabbage",
      "title": "배추 경락가 — 7일 (원/10kg)",
      "x": "day",
      "y": "price",
      "valueAxisZero": false,
      "series": [
        {
          "label": "배추",
          "color": "#a5161d"
        }
      ]
    },
    "figures": {
      "as": "element",
      "element": "figures",
      "of": "figures",
      "bind": {
        "items": "value"
      }
    },
    "notices": {
      "as": "element",
      "element": "notices",
      "of": "notices",
      "bind": {
        "items": "value"
      }
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1600,
      1000
    ],
    "background": "(background drawing, 3 KB — in the downloaded file)",
    "place": {
      "masthead": [
        40,
        24,
        1520,
        104
      ],
      "lead": [
        40,
        154,
        720,
        176
      ],
      "hall-h1": [
        70,
        390,
        300,
        190
      ],
      "hall-h2": [
        420,
        390,
        300,
        190
      ],
      "hall-h3": [
        70,
        660,
        300,
        190
      ],
      "hall-h4": [
        420,
        660,
        300,
        190
      ],
      "prices": [
        795,
        156,
        480,
        420
      ],
      "cabbage": [
        795,
        600,
        480,
        360
      ],
      "figures": [
        1300,
        156,
        260,
        400
      ],
      "notices": [
        1300,
        580,
        260,
        380
      ]
    }
  }
}
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": "market",
      "name": "예시 도매시장 API",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 도매시장이 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-21T19:30:20.000Z",
  "responses": {
    "market": {
      "/market/now": {
        "name": "한빛 도매시장 일보",
        "edition": "새벽판",
        "date": "10월 22일 목요일",
        "time": "04:30",
        "updatedAt": "2026-10-21T19:30:00Z"
      },
      "/market/lead": {
        "headline": "김장철 배추 반입 늘어 경락가 이틀째 내려",
        "deck": "배추 반입 1,240톤 — 지난주보다 18% 많아. 무는 반입이 줄며 오름세, 과일동 경매는 03:50에 끝났다.",
        "updatedAt": "2026-10-21T19:30:00Z"
      },
      "/market/halls": {
        "value": {
          "h1": {
            "name": "채소 1동",
            "item": "배추",
            "state": "now",
            "progress": 62,
            "note": "62% · 남은 반입 470톤"
          },
          "h2": {
            "name": "채소 2동",
            "item": "무",
            "state": "now",
            "progress": 35,
            "note": "35% · 남은 반입 210톤"
          },
          "h3": {
            "name": "과일동",
            "item": "사과 · 배",
            "state": "done",
            "progress": 100,
            "note": "03:50 경매 끝"
          },
          "h4": {
            "name": "특작동",
            "item": "버섯 · 고추",
            "state": "wait",
            "start": "05:00",
            "progress": 0,
            "note": "반입 확인 중"
          }
        },
        "updatedAt": "2026-10-21T19:30:00Z"
      },
      "/market/prices": {
        "value": [
          {
            "item": "배추",
            "unit": "10kg",
            "price": "6,800원",
            "change": "-9.3%",
            "dir": "down"
          },
          {
            "item": "무",
            "unit": "20kg",
            "price": "14,200원",
            "change": "+6.0%",
            "dir": "up"
          },
          {
            "item": "대파",
            "unit": "1kg",
            "price": "2,350원",
            "change": "-2.1%",
            "dir": "down"
          },
          {
            "item": "사과(부사)",
            "unit": "10kg",
            "price": "42,000원",
            "change": "+1.2%",
            "dir": "up"
          },
          {
            "item": "배(신고)",
            "unit": "15kg",
            "price": "38,500원",
            "change": "0.0%",
            "dir": "flat"
          },
          {
            "item": "양파",
            "unit": "20kg",
            "price": "17,900원",
            "change": "-0.6%",
            "dir": "down"
          }
        ],
        "updatedAt": "2026-10-21T19:30:00Z"
      },
      "/market/cabbage": {
        "value": [
          {
            "day": "10/16",
            "price": 8400
          },
          {
            "day": "10/17",
            "price": 8100
          },
          {
            "day": "10/18",
            "price": 8300
          },
          {
            "day": "10/19",
            "price": 7900
          },
          {
            "day": "10/20",
            "price": 8000
          },
          {
            "day": "10/21",
            "price": 7500
          },
          {
            "day": "10/22",
            "price": 6800
          }
        ],
        "updatedAt": "2026-10-21T19:30:00Z"
      },
      "/market/figures": {
        "value": [
          {
            "label": "오늘 반입",
            "value": "3,860톤",
            "note": "전일보다 +7%"
          },
          {
            "label": "경매 진행",
            "value": "58%",
            "note": "네 동 반입량 기준"
          },
          {
            "label": "낙찰 건수",
            "value": "2,914",
            "note": "건 — 00시부터"
          }
        ],
        "updatedAt": "2026-10-21T19:30:00Z"
      },
      "/market/notices": {
        "value": [
          {
            "time": "05:00",
            "text": "특작동 경매 시작 — 버섯·고추"
          },
          {
            "time": "06:30",
            "text": "채소 1동 하차장 2번 정비"
          },
          {
            "time": "07:00",
            "text": "정가·수의 매매 접수 시작"
          }
        ],
        "updatedAt": "2026-10-21T19:30:00Z"
      }
    }
  }
}