Skip to content

Avatars cheat sheet

The syntax on one page. Avatars explains each part with live examples.

`!{NAME, tile words…, trait=value…}` only the name is required; the rest in any order
  • The name comes first. Any script. Quote it if it holds a comma: `!{"Okafor, Ada"}`.
  • Traits are key=value. Every trait you leave out is chosen by the name, the same way every time.
  • Tile words are bare. No key=, except border= and label=.
TraitValues
skin1 2 3 4 5 6 7 8 (lightest to deepest)
hairnone buzz short side curly coily bob long bun locs
hair-colorblack darkbrown brown auburn red blonde platinum gray white
faceoval round long square heart
eyesround almond narrow smile
eye-colorbrown dark hazel green blue gray
browssoft straight arched thick
nosebutton straight wide long
mouthsmile grin neutral smirk
beardnone stubble mustache goatee full
glassesnone round square
earringsnone stud hoop drop (default none)
headwearnone hijab turban skullcap beanie kufi cap backcap (default none; a hijab or turban hides all hair, the caps and hats the fringe and any volume above them; cap is a baseball cap, bill forward; backcap is a fitted cap worn backwards and leaves the fringe showing)
headwear-colorthe nine top colors
topnavy slate charcoal olive teal plum brick taupe cream
clothingcrew (default) vneck collar turtleneck hoodie blazer
genderneutral (default) woman man: changes the defaults for hair, beard and brows; never a lock
WordValuesDefault
colorc1 … c12picked by the name from c1–c8
sizesm md lg xlmd
shapecircle rounded squarecircle
frameframed bareframed
ringborder=c1 … border=c12none
spoken namelabel="…"the name

Deck-wide: avatar: rounded bare in the front matter. One slide: <!-- _class: avatar-square -->. An avatar’s own word wins over both.

`!{Ada Okafor}` the name alone: a whole face
`!{Ada Okafor, hair=coily, skin=6}` two traits pinned
`!{Ada Okafor, glasses=round, c3, lg, rounded}` a trait, then the tile
`!{Sam Lee, gender=man, hair=long}` a preset, overridden
`!{Amina Yusuf, headwear=hijab, headwear-color=plum}` a head covering and its color
`!{Ada Okafor, earrings=hoop, clothing=blazer}` earrings and the cut of the top
`!{Ada Okafor, border=c4, label="Our sponsor"}` a ring and a spoken name
`\!{Ada Okafor}` shown as code, not drawn
You wroteWhy it stays code
`!{Ada, skin=9}`skin takes 1–8
`!{Ada, hair=mohawk}`not a hairstyle in the set
`!{Ada, coily}`a trait must be written by name: hair=coily
`!{hair=long}`no name
`!{ Ada}`the name must follow the brace directly
`\!{Ada}`the backslash keeps it as code on purpose

lint:deck warns about every one of these except the last, and says why.

You wrote on the portrait lineYou get
- `!{Ada}`the avatar as the portrait
- `!{Ada}` `Sponsor`the avatar, and Sponsor as the role
an avatar inside a notethe note, with the avatar where you wrote it
a broken avatarthe code you typed, as a note
an avatar with the plugin offa monogram