# Clinic stat post

> A square animated post for a physiotherapy clinic: eighteen waiting-room chairs, twelve of which slide away one by one as the number counts down from 18 days to 6. The chair is one component, and the headline figure and footer are plain text to change.

- The design, as a .vd file: https://getv.design/library/clinic-stat-post.vd
- Its page: https://getv.design/library/clinic-stat-post

## How it was made

Drafted from this prompt:

> A square post for Medway Community Physio: our average wait for a first appointment has fallen from 18 days to 6. Show it as a row of waiting-room chairs.

Then refined:

- Made the chairs taller so the row fills its band.
- Moved the word days closer to the number and widened the note so it sits on two lines, and thickened the chair legs.

## Make it yours

- "Change the wait to 4 days and keep the chairs in step."
- "Change the footer date to November 2026."
- "Use our colours and add our logo in the corner of the band."

## The source

```vd
version 12
kind design
title "Clinic stat post"
$blue = #3066be
$mint = #b4edd2
$white = #ffffff
$ink = #1d2d44
$pad = 72
$gap = 8.5

font head = Afacad
  fallback "system-ui, sans-serif"
  face asset=afacad-500 weight=500
  face asset=afacad-700 weight=700

font body = "Readex Pro"
  fallback "system-ui, sans-serif"
  face asset=readex-pro-400 weight=400
  face asset=readex-pro-600 weight=600

asset afacad-500 = font/woff2 hash=sha256-4552ff694b7e67b89d4a7144e2e0c26ad540cdd0398b18c8617647c0128c0b77 bytes=13328 license=OFL
asset afacad-700 = font/woff2 hash=sha256-e529a2b6369497c4e3d081f923935b5f8101994ad00194e2a596ae18d1cc957e bytes=13124 license=OFL
asset readex-pro-400 = font/woff2 hash=sha256-e846a3aa9fd67bbc09e2ecef4e3f74577fae05053815636a21eb77d06533f062 bytes=14420 license=OFL
asset readex-pro-600 = font/woff2 hash=sha256-d6318c6fc4b259ecad6c62f16b8ece2ed62e7e3a12da66920a67b2994be4260e bytes=15084 license=OFL

frame post x=0 y=0 w=1080 h=1080 background=white
  text post.title x=$pad y=$pad w=(100% - $pad * 2) h=145 font=head size=64 weight=700 lineHeight=1.1 letterSpacing=-1 fill=ink
    "First appointments at Medway now wait 6 days, not 18"
  text post.number x=$pad y=(@post.title.bottom + 20) w=400 h=344 font=head size=340 weight=700 lineHeight=1 letterSpacing=-6 fill=blue
    "6"
  text post.unit x=440 y=(@post.number.y + 70) w=568 h=136 font=head size=120 weight=700 lineHeight=1.1 fill=ink
    "days"
  text post.note x=@post.unit.x y=(@post.unit.bottom + 8) w=568 h=110 font=body size=32 lineHeight=1.3 fill=ink
    "average wait for a first appointment, down from 18 days"
  rect post.panel x=0 y=650 w=100% h=430 fill=blue
  group post.chairs
    instance c.1 component=chair.stay x=$pad y=(@post.panel.y + 64)
    instance c.2 component=chair.stay x=(prev.right + $gap) y=(prev.y)
    instance c.3 component=chair.stay x=(prev.right + $gap) y=(prev.y)
    instance c.4 component=chair.stay x=(prev.right + $gap) y=(prev.y)
    instance c.5 component=chair.stay x=(prev.right + $gap) y=(prev.y)
    instance c.6 component=chair.stay x=(prev.right + $gap) y=(prev.y)
    instance c.7 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.8 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.9 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.10 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.11 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.12 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.13 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.14 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.15 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.16 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.17 component=chair.go x=(prev.right + $gap) y=(prev.y)
    instance c.18 component=chair.go x=(prev.right + $gap) y=(prev.y)
  text post.caption x=$pad y=(@c.1.bottom + 40) w=(100% - $pad * 2) h=48 font=body size=34 fill=white
    "One chair for each day of the old wait."
  text post.org x=$pad y=(100% - $pad - 40) w=520 h=44 font=body size=30 weight=600 fill=mint
    "Medway Community Physio"
  text post.date x=(100% - $pad - 420) y=@post.org.y w=420 h=44 font=body size=26 align=right fill=white
    "Average wait, October 2026"

frame chair.stay x=0 y=1200 w=44 h=104 component
  rect chair.stay.back x=8 y=0 w=28 h=54 fill=white radius=7
  rect chair.stay.seat x=2 y=58 w=40 h=10 fill=white radius=4
  rect chair.stay.l1 x=6 y=70 w=7 h=34 fill=white
  rect chair.stay.l2 x=32 y=70 w=7 h=34 fill=white

frame chair.go x=100 y=1200 w=44 h=104 component
  rect chair.go.back x=8 y=0 w=28 h=54 fill=mint radius=7
  rect chair.go.seat x=2 y=58 w=40 h=10 fill=mint radius=4
  rect chair.go.l1 x=6 y=70 w=7 h=34 fill=mint
  rect chair.go.l2 x=32 y=70 w=7 h=34 fill=mint

motion post w=1080 h=1080
  post.title enter=rise duration=600
  post.note enter=fade
  post.chairs enter=pop stagger=35
  post.number enter=count from=18 duration=3000 ease=linear delay=700
  post.unit enter=fade together
  c.18 exit=drop duration=250 ease=in with=post.number delay=0
  c.17 exit=drop duration=250 ease=in
  c.16 exit=drop duration=250 ease=in
  c.15 exit=drop duration=250 ease=in
  c.14 exit=drop duration=250 ease=in
  c.13 exit=drop duration=250 ease=in
  c.12 exit=drop duration=250 ease=in
  c.11 exit=drop duration=250 ease=in
  c.10 exit=drop duration=250 ease=in
  c.9 exit=drop duration=250 ease=in
  c.8 exit=drop duration=250 ease=in
  c.7 exit=drop duration=250 ease=in
```
