# Restaurant menu

> A two-page A4 dinner menu for a seafood restaurant: food on one page, drinks on the other. A dish is one component, so adding or swapping a dish keeps the names, descriptions and the price column aligned.

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

## How it was made

Drafted from this prompt:

> A two-page dinner menu for Saltmarsh Kitchen, a seafood restaurant. Starters, mains, sides and desserts on page one; wine, beer and soft drinks on page two. Prices in pounds, no currency symbols.

Then refined:

- Widened the coloured band beside each course and enlarged its ingredient drawing, which were too small to read as the main idea.
- Moved the foot notes up and tightened the spacing so the last course no longer touches the rule above them.

## Make it yours

- "Swap three dishes for next month and change the prices."
- "Add a vegetarian dish to the mains."
- "Use our colours and our restaurant name."

## The source

```vd
version 12
kind design
title "Restaurant menu"
$ink = #1d3557
$oyster = #ede6da
$samphire = #6a994e
$rust = #bc4b2a
$muted = #4f5b66
$m = 56
$spine = 52
$cx = 124
$cw = 614
$gap = 16

font display = Prata
  fallback "Georgia, serif"
  face asset=prata-400 weight=400

font body = "Sofia Sans"
  fallback "system-ui, sans-serif"
  face asset=sofia-sans-400 weight=400
  face asset=sofia-sans-600 weight=600

asset prata-400 = font/woff2 hash=sha256-1b85a8c794709747c9f689b791984c430a2d9716a5cf9440d955bd7d20dad9d0 bytes=19224 license=OFL
asset sofia-sans-400 = font/woff2 hash=sha256-530c2b2550749d670a2f0cff1250452abdcd0c32659edb13a4645fdd81ab6fc2 bytes=14944 license=OFL
asset sofia-sans-600 = font/woff2 hash=sha256-205a358fc68ef9223241c9b799b3e4736302f6f44789063ba6f587c987185ae6 bytes=16068 license=OFL

frame menu x=0 y=0 w=794 h=1123 background=oyster
  text menu.title x=$m y=44 w=620 h=60 font=display size=46 lineHeight=1.2 fill=ink
    "Saltmarsh Kitchen"
  text menu.sub x=$m y=(@menu.title.bottom + 2) w=620 h=22 font=body size=14 fill=muted
    "Dinner menu for November. It changes every month."
  connector menu.rule x1=$m y1=(@menu.sub.bottom + 14) x2=($m + 682) y2=(@menu.sub.bottom + 14) stroke=ink strokeWidth=1.5
  text menu.starters.title x=$cx y=(@menu.sub.bottom + 34) w=$cw h=36 font=display size=26 fill=ink
    "Starters"
  instance menu.starters.d1 component=dish x=$cx y=(@menu.starters.title.bottom + 6)
    override dish.name
      "Whitstable rock oysters, six"
    override dish.desc
      "Shallot vinegar, lemon, buttered brown bread."
    override dish.price
      "16.50"
  instance menu.starters.d2 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Brown shrimps on toast"
    override dish.desc
      "Nutmeg butter, pickled cucumber, soda bread."
    override dish.price
      "9.50"
  instance menu.starters.d3 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Cured sea bass"
    override dish.desc
      "Fennel, Kentish apple, horseradish cream."
    override dish.price
      "11.00"
  instance menu.starters.d4 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Roast cauliflower soup"
    override dish.desc
      "Toasted hazelnuts, chive oil, sourdough."
    override dish.price
      "8.00"
  rect menu.starters.spine x=$m y=@menu.starters.title.y w=$spine h=(@menu.starters.d4.bottom - @menu.starters.title.y) fill=ink
  vector menu.starters.icon x=($m + ($spine - 32) / 2) y=(@menu.starters.title.y + 10) w=32 h=32 view="0 0 24 24" d="M3 14c0-5 4-9 9-9s9 4 9 8-3 6-9 6-9-1-9-5z M8 8l3 10 M12 6l1 12 M16 8l-2 10" fill=none stroke=oyster strokeWidth=1.5 cap=round join=round
  text menu.mains.title x=$cx y=(@menu.starters.d4.bottom + $gap) w=$cw h=36 font=display size=26 fill=ink
    "Mains"
  instance menu.mains.d1 component=dish x=$cx y=(@menu.mains.title.bottom + 6)
    override dish.name
      "Native lobster, half"
    override dish.desc
      "Grilled with garlic butter, chips and a green salad."
    override dish.price
      "38.00"
  instance menu.mains.d2 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Whole plaice"
    override dish.desc
      "Grilled on the bone, samphire, brown butter."
    override dish.price
      "24.00"
  instance menu.mains.d3 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Fish pie"
    override dish.desc
      "Haddock, smoked cod, prawns, mash crust, peas."
    override dish.price
      "19.50"
  instance menu.mains.d4 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Wild mushroom risotto"
    override dish.desc
      "Parmesan, parsley, a poached hen egg."
    override dish.price
      "17.00"
  rect menu.mains.spine x=$m y=@menu.mains.title.y w=$spine h=(@menu.mains.d4.bottom - @menu.mains.title.y) fill=rust
  vector menu.mains.icon x=($m + ($spine - 32) / 2) y=(@menu.mains.title.y + 10) w=32 h=32 view="0 0 24 24" d="M2 12c4-7 12-7 16 0-4 7-12 7-16 0z M18 12l4-4v8z M7 11h.01 M10 9c1 2 1 4 0 6" fill=none stroke=oyster strokeWidth=1.5 cap=round join=round
  text menu.sides.title x=$cx y=(@menu.mains.d4.bottom + $gap) w=$cw h=36 font=display size=26 fill=ink
    "Sides"
  instance menu.sides.d1 component=dish x=$cx y=(@menu.sides.title.bottom + 6)
    override dish.name
      "Hand cut chips"
    override dish.desc
      "Skin on, sea salt."
    override dish.price
      "4.50"
  instance menu.sides.d2 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Marsh samphire"
    override dish.desc
      "Buttered, with lemon."
    override dish.price
      "5.00"
  instance menu.sides.d3 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Jersey Royals"
    override dish.desc
      "Mint butter."
    override dish.price
      "4.50"
  rect menu.sides.spine x=$m y=@menu.sides.title.y w=$spine h=(@menu.sides.d3.bottom - @menu.sides.title.y) fill=samphire
  vector menu.sides.icon x=($m + ($spine - 32) / 2) y=(@menu.sides.title.y + 10) w=32 h=32 view="0 0 24 24" d="M12 22V3 M12 8L7 5 M12 8l5-3 M12 13L6 10 M12 13l6-3 M12 18L7 15 M12 18l5-3" fill=none stroke=oyster strokeWidth=1.5 cap=round join=round
  text menu.desserts.title x=$cx y=(@menu.sides.d3.bottom + $gap) w=$cw h=36 font=display size=26 fill=ink
    "Desserts"
  instance menu.desserts.d1 component=dish x=$cx y=(@menu.desserts.title.bottom + 6)
    override dish.name
      "Kentish pear and almond tart"
    override dish.desc
      "Clotted cream."
    override dish.price
      "8.50"
  instance menu.desserts.d2 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Burnt lemon posset"
    override dish.desc
      "Shortbread and sea salt."
    override dish.price
      "7.50"
  instance menu.desserts.d3 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Sticky toffee pudding"
    override dish.desc
      "Butterscotch, vanilla ice cream."
    override dish.price
      "8.00"
  rect menu.desserts.spine x=$m y=@menu.desserts.title.y w=$spine h=(@menu.desserts.d3.bottom - @menu.desserts.title.y) fill=ink
  vector menu.desserts.icon x=($m + ($spine - 32) / 2) y=(@menu.desserts.title.y + 10) w=32 h=32 view="0 0 24 24" d="M12 7c-4 0-6 3-6 7 0 4 3 7 6 7s6-3 6-7c0-4-2-7-6-7z M12 7c0-3 1-4 3-5 M9 15c0 2 1 3 2 3" fill=none stroke=oyster strokeWidth=1.5 cap=round join=round
  connector menu.foot.rule x1=$m y1=(100% - 80) x2=($m + 682) y2=(100% - 80) stroke=ink strokeWidth=1
  text menu.foot x=$m y=(100% - 68) w=682 h=40 font=body size=11.5 lineHeight=1.4 fill=muted
    "Please tell us about any allergy or intolerance before you order. Dishes may contain fish, shellfish, molluscs, gluten, milk, eggs, celery and nuts. A discretionary service charge of 12.5% is added to the bill and shared by the whole team."

frame drinks x=894 y=0 w=794 h=1123 background=oyster
  text drinks.title x=$m y=44 w=620 h=60 font=display size=46 lineHeight=1.2 fill=ink
    "Drinks"
  text drinks.sub x=$m y=(@drinks.title.bottom + 2) w=620 h=22 font=body size=14 fill=muted
    "Saltmarsh Kitchen, Whitstable. Wine, beer and soft drinks."
  connector drinks.rule x1=$m y1=(@drinks.sub.bottom + 14) x2=($m + 682) y2=(@drinks.sub.bottom + 14) stroke=ink strokeWidth=1.5
  text drinks.wine.title x=$cx y=(@drinks.sub.bottom + 34) w=$cw h=36 font=display size=26 fill=ink
    "Wine"
  instance drinks.wine.d1 component=dish x=$cx y=(@drinks.wine.title.bottom + 6)
    override dish.name
      "Picpoul de Pinet"
    override dish.desc
      "Languedoc, 2023. Dry and salty. 175ml; bottle 31."
    override dish.price
      "7.50"
  instance drinks.wine.d2 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Muscadet sur lie"
    override dish.desc
      "Loire, 2022. Lean, with a little yeast. 175ml; bottle 27."
    override dish.price
      "6.50"
  instance drinks.wine.d3 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Albariño"
    override dish.desc
      "Rias Baixas, 2023. Peach and lime. 175ml; bottle 36."
    override dish.price
      "8.50"
  instance drinks.wine.d4 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "English sparkling brut"
    override dish.desc
      "Kent, 2020. Fine bubbles, green apple. 125ml; bottle 52."
    override dish.price
      "11.00"
  instance drinks.wine.d5 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Provence rosé"
    override dish.desc
      "Pale and dry. 175ml; bottle 33."
    override dish.price
      "8.00"
  instance drinks.wine.d6 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Pinot noir"
    override dish.desc
      "Burgundy, 2021. Light, red cherry. 175ml; bottle 34."
    override dish.price
      "8.00"
  instance drinks.wine.d7 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Rioja crianza"
    override dish.desc
      "Tempranillo, 2020. Soft and spiced. 175ml; bottle 29."
    override dish.price
      "7.00"
  rect drinks.wine.spine x=$m y=@drinks.wine.title.y w=$spine h=(@drinks.wine.d7.bottom - @drinks.wine.title.y) fill=ink
  vector drinks.wine.icon x=($m + ($spine - 32) / 2) y=(@drinks.wine.title.y + 10) w=32 h=32 view="0 0 24 24" d="M12 8a2.4 2.4 0 1 0 .01 0 M7 11a2.4 2.4 0 1 0 .01 0 M17 11a2.4 2.4 0 1 0 .01 0 M9.5 15.5a2.4 2.4 0 1 0 .01 0 M14.5 15.5a2.4 2.4 0 1 0 .01 0 M12 20a2.4 2.4 0 1 0 .01 0 M12 5.5C12 3 13 2.5 15 2" fill=none stroke=oyster strokeWidth=1.5 cap=round join=round
  text drinks.beer.title x=$cx y=(@drinks.wine.d7.bottom + $gap) w=$cw h=36 font=display size=26 fill=ink
    "Beer and cider"
  instance drinks.beer.d1 component=dish x=$cx y=(@drinks.beer.title.bottom + 6)
    override dish.name
      "Kentish pale ale, 4.2%"
    override dish.desc
      "Draught. Pint."
    override dish.price
      "5.80"
  instance drinks.beer.d2 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Harbour lager, 4.5%"
    override dish.desc
      "Draught. Pint."
    override dish.price
      "5.50"
  instance drinks.beer.d3 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Oyster stout, 4.5%"
    override dish.desc
      "Bottle, 330ml."
    override dish.price
      "6.00"
  instance drinks.beer.d4 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Dry Kentish cider, 5%"
    override dish.desc
      "Bottle, 330ml."
    override dish.price
      "5.50"
  rect drinks.beer.spine x=$m y=@drinks.beer.title.y w=$spine h=(@drinks.beer.d4.bottom - @drinks.beer.title.y) fill=rust
  vector drinks.beer.icon x=($m + ($spine - 32) / 2) y=(@drinks.beer.title.y + 10) w=32 h=32 view="0 0 24 24" d="M12 22V8 M12 8c-3-1-4-3-4-5 3 0 4 2 4 5z M12 8c3-1 4-3 4-5-3 0-4 2-4 5z M12 14c-3-1-4-3-4-5 M12 14c3-1 4-3 4-5 M12 19c-3-1-4-3-4-5 M12 19c3-1 4-3 4-5" fill=none stroke=oyster strokeWidth=1.5 cap=round join=round
  text drinks.soft.title x=$cx y=(@drinks.beer.d4.bottom + $gap) w=$cw h=36 font=display size=26 fill=ink
    "Soft drinks"
  instance drinks.soft.d1 component=dish x=$cx y=(@drinks.soft.title.bottom + 6)
    override dish.name
      "Sparkling elderflower"
    override dish.desc
      "Pressed in Kent, 250ml."
    override dish.price
      "3.50"
  instance drinks.soft.d2 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Cloudy apple juice"
    override dish.desc
      "From the orchards at Faversham, 250ml."
    override dish.price
      "3.50"
  instance drinks.soft.d3 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Ginger beer"
    override dish.desc
      "Bottle, 275ml."
    override dish.price
      "3.80"
  instance drinks.soft.d4 component=dish x=$cx y=(prev.bottom)
    override dish.name
      "Still or sparkling water"
    override dish.desc
      "Bottle, 750ml."
    override dish.price
      "3.00"
  rect drinks.soft.spine x=$m y=@drinks.soft.title.y w=$spine h=(@drinks.soft.d4.bottom - @drinks.soft.title.y) fill=samphire
  vector drinks.soft.icon x=($m + ($spine - 32) / 2) y=(@drinks.soft.title.y + 10) w=32 h=32 view="0 0 24 24" d="M12 3a9 9 0 1 0 .01 0 M12 3v18 M3 12h18 M5.6 5.6l12.8 12.8 M18.4 5.6L5.6 18.4" fill=none stroke=oyster strokeWidth=1.5 cap=round join=round
  connector drinks.foot.rule x1=$m y1=(100% - 80) x2=($m + 682) y2=(100% - 80) stroke=ink strokeWidth=1
  text drinks.foot x=$m y=(100% - 68) w=682 h=40 font=body size=11.5 lineHeight=1.4 fill=muted
    "Saltmarsh Kitchen, 14 Harbour Street, Whitstable. Open Wednesday to Sunday, dinner from 5.30pm. A discretionary service charge of 12.5% is added to the bill and shared by the whole team. Prices include VAT."

frame dish x=0 y=1223 w=614 h=44 component
  text dish.name x=0 y=0 w=520 h=22 font=body size=16 weight=600 fill=ink
    "Dish"
  text dish.desc x=0 y=(@dish.name.bottom) w=520 h=19 font=body size=12.5 fill=muted
    "Description"
  text dish.price x=534 y=0 w=80 h=22 font=body size=16 weight=600 align=right fill=ink
    "0.00"
```
