# Conference name badge

> A two-page lanyard badge for a one-day conference: the first name set huge, surname and company, and a bottom band that changes colour and pattern by attendee type. The back lists the schedule and wifi. The band is one component, so changing it updates every badge.

- The design, as a .vd file: https://getv.design/library/conference-name-badge.vd
- Its page: https://getv.design/library/conference-name-badge

## How it was made

Drafted from this prompt:

> A conference name badge for Edgeline Summit, 3 × 4 inches: first name large, surname and company, a coloured band for attendee, speaker or crew. The back has the schedule and wifi.

Then refined:

- Moved the city and date onto their own line under the event name so they stop wrapping.
- Fixed the schedule so each hall sits directly under its session, and shortened the 11:40 talk title to one line.

## Make it yours

- "Change the name and company to mine."
- "Make it a crew badge."
- "Add a QR code for the attendee's contact details on the back."

## The source

```vd
version 12
kind design
title "Conference name badge"
$white = #FFFFFF
$attendee = #3A86FF
$speaker = #FF5A5F
$crew = #2EC4B6
$ink = #111111
$muted = #555555
$m = 40
$gap = 80

font head = "Familjen Grotesk"
  fallback "system-ui, sans-serif"
  face asset=familjen-grotesk-500 weight=500
  face asset=familjen-grotesk-600 weight=600
  face asset=familjen-grotesk-700 weight=700

font mono = "Red Hat Mono"
  fallback "ui-monospace, monospace"
  face asset=red-hat-mono-400 weight=400
  face asset=red-hat-mono-700 weight=700

asset familjen-grotesk-500 = font/woff2 hash=sha256-490e3a95d21896ee66c4d7888b1f8e2e4413c1e910a97f197ad1690491ef5f40 bytes=12056 license=OFL
asset familjen-grotesk-600 = font/woff2 hash=sha256-4becdcd6d182685a5bc7f961e49f8991538cd42acabf4ffbba72654f26743620 bytes=12108 license=OFL
asset familjen-grotesk-700 = font/woff2 hash=sha256-e1ebaed103ed999431a836736057a12e8e2d2b1e97d79c751cd1cb75776d5bee bytes=11820 license=OFL
asset red-hat-mono-400 = font/woff2 hash=sha256-392fbbdfabe89c965489cbb7738abce86aff180b12b75280026dfe3f6005b189 bytes=9728 license=OFL
asset red-hat-mono-700 = font/woff2 hash=sha256-ba2e0090744f128536177669b27ac6a7231f4e8f2848a14469227362b88f7aa7 bytes=9756 license=OFL

frame badge.front x=0 y=0 w=576 h=768 background=white
  rect front.slot x=((100% - 120) / 2) y=28 w=120 h=22 radius=11 fill=none stroke=ink strokeWidth=3
  text front.event x=$m y=84 w=300 h=36 font=head size=30 weight=700 letterSpacing=-0.5 fill=ink
    "Edgeline Summit"
  text front.when x=$m y=@front.event.bottom w=(100% - $m * 2) h=30 font=mono size=20 fill=muted
    "Manchester, 21 October"
  text front.first x=$m y=(@front.when.bottom + 4) w=(100% - $m * 2) h=180 font=head size=176 weight=700 lineHeight=0.95 letterSpacing=-6 fill=ink
    "Priya"
  text front.last x=$m y=(@front.first.bottom + 4) w=(100% - $m * 2) h=72 font=head size=58 weight=500 letterSpacing=-1 fill=ink
    "Venkatesan"
  text front.company x=$m y=(@front.last.bottom) w=(100% - $m * 2) h=34 font=mono size=26 fill=muted
    "Halden Systems"
  text front.talk x=$m y=(@front.company.bottom + 18) w=(100% - $m * 2) h=26 font=mono size=22 weight=700 fill=ink
    "Speaking at 11:40 in Hall B"
  instance front.band component=band x=0 y=(100% - 230)
    override bd.bg fill=speaker
    override bd.pat d="M0 9L21 37L42 9L63 37L84 9L105 37L126 9L147 37L168 9L189 37L210 9L231 37L252 9L273 37L294 9L315 37L336 9L357 37L378 9L399 37L420 9L441 37L462 9L483 37L504 9L525 37L546 9L567 37L588 9L588 25L567 53L546 25L525 53L504 25L483 53L462 25L441 53L420 25L399 53L378 25L357 53L336 25L315 53L294 25L273 53L252 25L231 53L210 25L189 53L168 25L147 53L126 25L105 53L84 25L63 53L42 25L21 53L0 25ZM0 55L21 83L42 55L63 83L84 55L105 83L126 55L147 83L168 55L189 83L210 55L231 83L252 55L273 83L294 55L315 83L336 55L357 83L378 55L399 83L420 55L441 83L462 55L483 83L504 55L525 83L546 55L567 83L588 55L588 71L567 99L546 71L525 99L504 71L483 99L462 71L441 99L420 71L399 99L378 71L357 99L336 71L315 99L294 71L273 99L252 71L231 99L210 71L189 99L168 71L147 99L126 71L105 99L84 71L63 99L42 71L21 99L0 71ZM0 101L21 129L42 101L63 129L84 101L105 129L126 101L147 129L168 101L189 129L210 101L231 129L252 101L273 129L294 101L315 129L336 101L357 129L378 101L399 129L420 101L441 129L462 101L483 129L504 101L525 129L546 101L567 129L588 101L588 117L567 145L546 117L525 145L504 117L483 145L462 117L441 145L420 117L399 145L378 117L357 145L336 117L315 145L294 117L273 145L252 117L231 145L210 117L189 145L168 117L147 145L126 117L105 145L84 117L63 145L42 117L21 145L0 117ZM0 147L21 175L42 147L63 175L84 147L105 175L126 147L147 175L168 147L189 175L210 147L231 175L252 147L273 175L294 147L315 175L336 147L357 175L378 147L399 175L420 147L441 175L462 147L483 175L504 147L525 175L546 147L567 175L588 147L588 163L567 191L546 163L525 191L504 163L483 191L462 163L441 191L420 163L399 191L378 163L357 191L336 163L315 191L294 163L273 191L252 163L231 191L210 163L189 191L168 163L147 191L126 163L105 191L84 163L63 191L42 163L21 191L0 163ZM0 193L21 221L42 193L63 221L84 193L105 221L126 193L147 221L168 193L189 221L210 193L231 221L252 193L273 221L294 193L315 221L336 193L357 221L378 193L399 221L420 193L441 221L462 193L483 221L504 193L525 221L546 193L567 221L588 193L588 209L567 237L546 209L525 237L504 209L483 237L462 209L441 237L420 209L399 237L378 209L357 237L336 209L315 237L294 209L273 237L252 209L231 237L210 209L189 237L168 209L147 237L126 209L105 237L84 209L63 237L42 209L21 237L0 209Z"
    override bd.label
      "Speaker"

frame badge.back x=(@badge.front.right + $gap) y=0 w=576 h=768 background=white
  rect back.slot x=((100% - 120) / 2) y=28 w=120 h=22 radius=11 fill=none stroke=ink strokeWidth=3
  text back.title x=$m y=72 w=(100% - $m * 2) h=56 font=head size=44 weight=700 letterSpacing=-1 fill=ink
    "Thursday 21 October"
  rect back.rule x=$m y=(@back.title.bottom + 8) w=(100% - $m * 2) h=4 fill=ink
  text row.1.t x=$m y=(@back.rule.bottom + 18) w=90 h=30 font=mono size=24 weight=700 fill=ink
    "08:30"
  text row.1.n x=(@row.1.t.right + 12) y=@row.1.t.y w=(100% - $m - @row.1.t.right - 12) h=28 font=head size=22 weight=600 lineHeight=1.1 fill=ink
    "Doors and registration"
  text row.1.h x=@row.1.n.x y=(@row.1.n.y + 28) w=200 h=22 font=mono size=18 fill=muted
    "Atrium"
  text row.2.t x=$m y=(@row.1.t.y + 62) w=90 h=30 font=mono size=24 weight=700 fill=ink
    "09:30"
  text row.2.n x=(@row.2.t.right + 12) y=@row.2.t.y w=(100% - $m - @row.2.t.right - 12) h=28 font=head size=22 weight=600 lineHeight=1.1 fill=ink
    "Opening keynote"
  text row.2.h x=@row.2.n.x y=(@row.2.n.y + 28) w=200 h=22 font=mono size=18 fill=muted
    "Hall A"
  text row.3.t x=$m y=(@row.2.t.y + 62) w=90 h=30 font=mono size=24 weight=700 fill=ink
    "11:40"
  text row.3.n x=(@row.3.t.right + 12) y=@row.3.t.y w=(100% - $m - @row.3.t.right - 12) h=28 font=head size=22 weight=600 lineHeight=1.1 fill=ink
    "Keeping a queue honest at scale"
  text row.3.h x=@row.3.n.x y=(@row.3.n.y + 28) w=200 h=22 font=mono size=18 fill=muted
    "Hall B"
  text row.4.t x=$m y=(@row.3.t.y + 62) w=90 h=30 font=mono size=24 weight=700 fill=ink
    "14:00"
  text row.4.n x=(@row.4.t.right + 12) y=@row.4.t.y w=(100% - $m - @row.4.t.right - 12) h=28 font=head size=22 weight=600 lineHeight=1.1 fill=ink
    "Panel: who pays for the pager?"
  text row.4.h x=@row.4.n.x y=(@row.4.n.y + 28) w=200 h=22 font=mono size=18 fill=muted
    "Hall A"
  text row.5.t x=$m y=(@row.4.t.y + 62) w=90 h=30 font=mono size=24 weight=700 fill=ink
    "15:30"
  text row.5.n x=(@row.5.t.right + 12) y=@row.5.t.y w=(100% - $m - @row.5.t.right - 12) h=28 font=head size=22 weight=600 lineHeight=1.1 fill=ink
    "Lightning talks"
  text row.5.h x=@row.5.n.x y=(@row.5.n.y + 28) w=200 h=22 font=mono size=18 fill=muted
    "Hall B"
  text row.6.t x=$m y=(@row.5.t.y + 62) w=90 h=30 font=mono size=24 weight=700 fill=ink
    "17:00"
  text row.6.n x=(@row.6.t.right + 12) y=@row.6.t.y w=(100% - $m - @row.6.t.right - 12) h=28 font=head size=22 weight=600 lineHeight=1.1 fill=ink
    "Close, then drinks"
  text row.6.h x=@row.6.n.x y=(@row.6.n.y + 28) w=200 h=22 font=mono size=18 fill=muted
    "Atrium"
  rect wifi.box x=$m y=(@row.6.t.y + 68) w=(100% - $m * 2) h=96 fill=ink radius=6
  text wifi.label x=(@wifi.box.x + 20) y=@wifi.box.y w=80 h=@wifi.box.h font=head size=32 weight=700 valign=middle fill=white
    "Wifi"
  text wifi.net x=(@wifi.label.right + 20) y=(@wifi.box.y + 14) w=330 h=34 font=mono size=28 weight=700 fill=white
    "edgeline-guest"
  text wifi.pass x=@wifi.net.x y=(@wifi.net.bottom + 4) w=330 h=30 font=mono size=24 fill=white
    "Password: summit21"
  text key.title x=$m y=(@wifi.box.bottom + 20) w=300 h=24 font=mono size=20 fill=muted
    "Band colours at the doors"
  instance key.1 component=swatch x=$m y=(@key.title.bottom + 8)
    override sw.bg fill=attendee
    override sw.pat d="M0 0H10L-48 58H-58ZM22 0H32L-26 58H-36ZM44 0H54L-4 58H-14ZM66 0H76L18 58H8ZM88 0H98L40 58H30ZM110 0H120L62 58H52ZM132 0H142L84 58H74ZM154 0H164L106 58H96ZM176 0H186L128 58H118ZM198 0H208L150 58H140Z"
    override sw.label
      "Attendee"
  instance key.2 component=swatch x=(@key.1.right + 20) y=@key.1.y
    override sw.bg fill=speaker
    override sw.pat d="M0 3L9 15L18 3L27 15L36 3L45 15L54 3L63 15L72 3L81 15L90 3L99 15L108 3L117 15L126 3L135 15L144 3L153 15L162 3L162 10L153 22L144 10L135 22L126 10L117 22L108 10L99 22L90 10L81 22L72 10L63 22L54 10L45 22L36 10L27 22L18 10L9 22L0 10ZM0 21L9 33L18 21L27 33L36 21L45 33L54 21L63 33L72 21L81 33L90 21L99 33L108 21L117 33L126 21L135 33L144 21L153 33L162 21L162 28L153 40L144 28L135 40L126 28L117 40L108 28L99 40L90 28L81 40L72 28L63 40L54 28L45 40L36 28L27 40L18 28L9 40L0 28ZM0 39L9 51L18 39L27 51L36 39L45 51L54 39L63 51L72 39L81 51L90 39L99 51L108 39L117 51L126 39L135 51L144 39L153 51L162 39L162 46L153 58L144 46L135 58L126 46L117 58L108 46L99 58L90 46L81 58L72 46L63 58L54 46L45 58L36 46L27 58L18 46L9 58L0 46ZM0 57L9 69L18 57L27 69L36 57L45 69L54 57L63 69L72 57L81 69L90 57L99 69L108 57L117 69L126 57L135 69L144 57L153 69L162 57L162 64L153 76L144 64L135 76L126 64L117 76L108 64L99 76L90 64L81 76L72 64L63 76L54 64L45 76L36 64L27 76L18 64L9 76L0 64Z"
    override sw.label
      "Speaker"
  instance key.3 component=swatch x=(@key.2.right + 20) y=@key.1.y
    override sw.bg fill=crew
    override sw.pat d="M0 0h14v14h-14ZM28 0h14v14h-14ZM56 0h14v14h-14ZM84 0h14v14h-14ZM112 0h14v14h-14ZM140 0h14v14h-14ZM14 14h14v14h-14ZM42 14h14v14h-14ZM70 14h14v14h-14ZM98 14h14v14h-14ZM126 14h14v14h-14ZM0 28h14v14h-14ZM28 28h14v14h-14ZM56 28h14v14h-14ZM84 28h14v14h-14ZM112 28h14v14h-14ZM140 28h14v14h-14ZM14 42h14v14h-14ZM42 42h14v14h-14ZM70 42h14v14h-14ZM98 42h14v14h-14ZM126 42h14v14h-14ZM0 56h14v14h-14ZM28 56h14v14h-14ZM56 56h14v14h-14ZM84 56h14v14h-14ZM112 56h14v14h-14ZM140 56h14v14h-14Z"
    override sw.label
      "Crew"

frame band x=0 y=900 w=576 h=230 background=white component clip
  rect bd.bg x=0 y=0 w=100% h=100% fill=attendee
  vector bd.pat x=0 y=0 w=100% h=100% view="0 0 576 230" d="M0 0H26L-204 230H-230ZM56 0H82L-148 230H-174ZM112 0H138L-92 230H-118ZM168 0H194L-36 230H-62ZM224 0H250L20 230H-6ZM280 0H306L76 230H50ZM336 0H362L132 230H106ZM392 0H418L188 230H162ZM448 0H474L244 230H218ZM504 0H530L300 230H274ZM560 0H586L356 230H330ZM616 0H642L412 230H386ZM672 0H698L468 230H442ZM728 0H754L524 230H498ZM784 0H810L580 230H554Z" fill=white opacity=0.35
  rect bd.plate x=$m y=((100% - 96) / 2) w=340 h=96 fill=white radius=6
  text bd.label x=@bd.plate.x y=@bd.plate.y w=@bd.plate.w h=@bd.plate.h font=head size=60 weight=700 letterSpacing=-1 align=center valign=middle fill=ink
    "Attendee"

frame swatch x=700 y=900 w=152 h=58 background=white component clip
  rect sw.bg x=0 y=0 w=100% h=100% fill=attendee
  vector sw.pat x=0 y=0 w=100% h=100% view="0 0 152 58" d="M0 0H10L-48 58H-58ZM22 0H32L-26 58H-36ZM44 0H54L-4 58H-14ZM66 0H76L18 58H8ZM88 0H98L40 58H30ZM110 0H120L62 58H52ZM132 0H142L84 58H74ZM154 0H164L106 58H96ZM176 0H186L128 58H118ZM198 0H208L150 58H140Z" fill=white opacity=0.35
  rect sw.plate x=10 y=14 w=132 h=30 fill=white radius=4
  text sw.label x=@sw.plate.x y=@sw.plate.y w=@sw.plate.w h=@sw.plate.h font=mono size=20 weight=700 align=center valign=middle fill=ink
    "Attendee"
```
