# Kiosk menu board

> A 1920 x 1080 menu board for a coffee kiosk: eight drinks in three sizes, milk options and a pastry of the day. A drink is one component, so changing a name or price keeps the columns aligned under the cups.

- The design, as a .vd file: https://getv.design/library/kiosk-menu-board.vd
- Its page: https://getv.design/library/kiosk-menu-board

## How it was made

Drafted from this prompt:

> A menu board for Northbound Coffee for a 1920 x 1080 screen: eight drinks with prices in small, medium and large, plus milk options and a pastry of the day.

Then refined:

- Drew the three cups at 8, 12 and 16 oz heights, and enlarged them after the first render because they were too small to read as the main idea.
- Raised the type size of drink names and prices, and widened the price columns so the size labels no longer touch.
- Spaced out the left column so it ends level with the last drink row.

## Make it yours

- "Change the pastry of the day and its price."
- "Swap two drinks and raise every price by 10p."
- "Add a fourth size and a fourth column."

## The source

```vd
version 12
kind design
title "Kiosk menu board"
$espresso = #3C2A21
$crema = #D5A77B
$milk = #F5EFE6
$mint = #78C091
$m = 80
$tx = 740
$cw = 180
$c1 = 560
$c2 = 740
$c3 = 920
$base = 292
$ty = 364

font display = Righteous
  fallback "system-ui, sans-serif"
  face asset=righteous-400 weight=400

font body = "Varela Round"
  fallback "system-ui, sans-serif"
  face asset=varela-round-400 weight=400

asset righteous-400 = font/woff2 hash=sha256-17055c538efddf7a754a98bb7db3d15405316dfb4645c287421ed3e7f8769144 bytes=12756 license=OFL
asset varela-round-400 = font/woff2 hash=sha256-03871f86c86fc776f89d0cb947502f3957181b63327fecaec724bc39d082319f bytes=22948 license=OFL

frame drink x=0 y=1200 w=1100 h=80 background=espresso component
  connector drink.rule x1=0 y1=0 x2=1100 y2=0 stroke=crema strokeWidth=1.5 opacity=0.45
  text drink.name x=0 y=0 w=540 h=80 font=body size=40 valign=middle fill=milk
    "Drink"
  text drink.p1 x=$c1 y=0 w=$cw h=80 font=display size=40 align=center valign=middle fill=crema
    "0.00"
  text drink.p2 x=$c2 y=0 w=$cw h=80 font=display size=40 align=center valign=middle fill=crema
    "0.00"
  text drink.p3 x=$c3 y=0 w=$cw h=80 font=display size=40 align=center valign=middle fill=crema
    "0.00"

frame board x=0 y=0 w=1920 h=1080 background=espresso
  text brand.name x=$m y=72 w=640 h=233 font=display size=104 lineHeight=1.1 fill=milk
    "Northbound Coffee"
  text brand.sub x=$m y=(@brand.name.bottom + 12) w=600 h=80 font=body size=30 lineHeight=1.3 fill=crema
    "At the bus station, open 5.30am to 8pm. Prices in pounds."
  text milk.title x=$m y=(@brand.sub.bottom + 64) w=600 h=54 font=display size=44 fill=mint
    "Milk"
  text milk.body x=$m y=(@milk.title.bottom + 4) w=600 h=128 font=body size=32 lineHeight=1.3 fill=milk
    "Whole, semi-skimmed or skimmed at no extra charge. Oat, soy or almond milk adds 50p."
  rect pastry.card x=$m y=(@milk.body.bottom + 56) w=600 h=244 fill=milk radius=28
  text pastry.title x=(@pastry.card.x + 32) y=(@pastry.card.y + 36) w=536 h=44 font=display size=36 fill=espresso
    "Pastry of the day"
  text pastry.name x=@pastry.title.x y=(@pastry.title.bottom + 4) w=536 h=80 font=display size=64 fill=espresso
    "Cardamom bun"
  text pastry.price x=@pastry.title.x y=(@pastry.name.bottom + 6) w=536 h=44 font=body size=32 fill=espresso
    "2.80, baked at 5am, gone by noon"

  instance row.1 component=drink x=$tx y=$ty
    override drink.name
      "Filter coffee"
    override drink.p1
      "2.00"
    override drink.p2
      "2.40"
    override drink.p3
      "2.80"
  instance row.2 component=drink x=$tx y=(prev.bottom)
    override drink.name
      "Americano"
    override drink.p1
      "2.40"
    override drink.p2
      "2.80"
    override drink.p3
      "3.20"
  instance row.3 component=drink x=$tx y=(prev.bottom)
    override drink.name
      "Flat white"
    override drink.p1
      "2.90"
    override drink.p2
      "3.30"
    override drink.p3
      "3.70"
  instance row.4 component=drink x=$tx y=(prev.bottom)
    override drink.name
      "Latte"
    override drink.p1
      "3.00"
    override drink.p2
      "3.40"
    override drink.p3
      "3.80"
  instance row.5 component=drink x=$tx y=(prev.bottom)
    override drink.name
      "Cappuccino"
    override drink.p1
      "3.00"
    override drink.p2
      "3.40"
    override drink.p3
      "3.80"
  instance row.6 component=drink x=$tx y=(prev.bottom)
    override drink.name
      "Mocha"
    override drink.p1
      "3.40"
    override drink.p2
      "3.80"
    override drink.p3
      "4.20"
  instance row.7 component=drink x=$tx y=(prev.bottom)
    override drink.name
      "Hot chocolate"
    override drink.p1
      "3.20"
    override drink.p2
      "3.60"
    override drink.p3
      "4.00"
  instance row.8 component=drink x=$tx y=(prev.bottom)
    override drink.name
      "Chai latte"
    override drink.p1
      "3.30"
    override drink.p2
      "3.70"
    override drink.p3
      "4.10"
  vector cup.small.body x=(($tx + $c1 + $cw / 2) - 42.0) y=($base - 112) w=84 h=112 view="0 0 84 112" d="M3.4 11L80.6 11L67.2 112L16.8 112z" fill=milk
  vector cup.small.sleeve x=(($tx + $c1 + $cw / 2) - 42.0) y=($base - 112) w=84 h=112 view="0 0 84 112" d="M7.4 41.3L76.6 41.3L71.5 79.7L12.5 79.7z" fill=mint
  vector cup.small.lid x=(($tx + $c1 + $cw / 2) - 42.0) y=($base - 112) w=84 h=112 view="0 0 84 112" d="M0 0H84V11H0z" fill=crema
  text cup.small.label x=(($tx + $c1 + $cw / 2) - 90) y=($base + 14) w=180 h=30 font=body size=24 align=center fill=milk
    "Small, 8 oz"
  vector cup.medium.body x=(($tx + $c2 + $cw / 2) - 54.0) y=($base - 168) w=108 h=168 view="0 0 108 168" d="M4.3 17L103.7 17L86.4 168L21.6 168z" fill=milk
  vector cup.medium.sleeve x=(($tx + $c2 + $cw / 2) - 54.0) y=($base - 168) w=108 h=168 view="0 0 108 168" d="M9.5 62.3L98.5 62.3L91.9 119.7L16.1 119.7z" fill=mint
  vector cup.medium.lid x=(($tx + $c2 + $cw / 2) - 54.0) y=($base - 168) w=108 h=168 view="0 0 108 168" d="M0 0H108V17H0z" fill=crema
  text cup.medium.label x=(($tx + $c2 + $cw / 2) - 90) y=($base + 14) w=180 h=30 font=body size=24 align=center fill=milk
    "Medium, 12 oz"
  vector cup.large.body x=(($tx + $c3 + $cw / 2) - 64.0) y=($base - 224) w=128 h=224 view="0 0 128 224" d="M5.1 22L122.9 22L102.4 224L25.6 224z" fill=milk
  vector cup.large.sleeve x=(($tx + $c3 + $cw / 2) - 64.0) y=($base - 224) w=128 h=224 view="0 0 128 224" d="M11.3 82.6L116.7 82.6L109 159.4L19 159.4z" fill=mint
  vector cup.large.lid x=(($tx + $c3 + $cw / 2) - 64.0) y=($base - 224) w=128 h=224 view="0 0 128 224" d="M0 0H128V22H0z" fill=crema
  text cup.large.label x=(($tx + $c3 + $cw / 2) - 90) y=($base + 14) w=180 h=30 font=body size=24 align=center fill=milk
    "Large, 16 oz"
```
