Shape Language Characters
One simple character built from circles, squares or triangles, showing how shape alone changes personality.
AI prompt
Character design sheet showing the same mascot built three ways in a row: a friendly round version with a circle head and circle body, a sturdy square version with a boxy head and body, and a sharp triangular version with a pointed head and angular body, identical simple faces with two dots and a line, same warm colour palette, flat vector style, labelled Circle, Square and Triangle beneath. Negative: different characters, gradients, outlines, text errors, busy backgrounds. Reduced motion: static sheet.About this pattern
Definition
Shape language is the idea that basic shapes carry feelings. Circles feel friendly, soft and safe; squares feel stable, reliable and strong; triangles feel dynamic, sharp and sometimes dangerous. Characters, logos and icons use this on purpose before any detail is added.
When to use it
- Circle: round head and body, soft features, for friendly mascots and helpers.
- Square: blocky head and body, for dependable, strong or serious characters.
- Triangle: pointed head, angular body, for energetic, clever or villainous characters.
- Design the silhouette first; it should already show the personality.
What the controls do
- Three shape buttons and a caption with the personality traits.
Motion & timing
- The character morphs over 250ms.
- Reduced motion: it changes without morphing.
Tips & variations
- Mix shapes on purpose: a square body with a round head reads as a kind but strong character.
- Keep the same simple features so only the shape changes the feel.
Code of this live preview
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Shape"><button data-p="0" aria-pressed="true">Circle</button><button data-p="1" aria-pressed="false">Square</button><button data-p="2" aria-pressed="false">Triangle</button></div><div class="sc" id="sc" data-s="c"><div class="hd"><i class="e"></i><i class="e r"></i><u class="m"></u></div><div class="bd"></div></div><p class="out" id="out" aria-live="polite"></p></div>:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}ul,ol,p,h4{margin:0;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sc{height:150px;border-radius:12px;background:var(--surface);border:1px solid var(--line);display:grid;justify-items:center;align-content:center;gap:0}.hd,.bd{background:var(--cl);transition:border-radius .25s,clip-path .25s,background .25s,width .25s,height .25s}.hd{width:64px;height:64px;position:relative;z-index:1}.bd{width:86px;height:62px;margin-top:-6px}
.e{position:absolute;left:18px;top:24px;width:8px;height:8px;border-radius:50%;background:#222}.e.r{left:38px}.m{position:absolute;left:22px;top:44px;width:20px;height:3px;border-radius:2px;background:#222}
.sc[data-s=c]{--cl:#f2a33a}.sc[data-s=c] .hd{border-radius:50%}.sc[data-s=c] .bd{border-radius:50% 50% 44% 44%;width:90px;height:66px}
.sc[data-s=s]{--cl:#3f6fb0}.sc[data-s=s] .hd,.sc[data-s=s] .bd{border-radius:4px}.sc[data-s=s] .bd{width:94px;height:60px}
.sc[data-s=t]{--cl:#c0392b}.sc[data-s=t] .hd{clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0}.sc[data-s=t] .e{top:36px;left:20px}.sc[data-s=t] .e.r{left:36px}.sc[data-s=t] .m{top:50px;left:24px;width:16px}.sc[data-s=t] .bd{clip-path:polygon(0 0,100% 0,82% 100%,18% 100%);border-radius:0;width:96px;height:62px}
.out{font-size:12px;color:var(--muted)}.out b{color:var(--text)}@media (prefers-reduced-motion:reduce){.hd,.bd{transition:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}const K=['c','s','t'],T=['<b>Circle:</b> friendly, soft, safe, approachable.','<b>Square:</b> stable, reliable, strong, serious.','<b>Triangle:</b> dynamic, energetic, clever, edgy.'],sc=document.getElementById('sc'),bs=[...document.querySelectorAll('#pre button')];let p=0;
function up(){sc.dataset.s=K[p];document.getElementById('out').innerHTML=T[p];bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));up();One complete HTML file. Save it and open it in a browser.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Shape Language Characters — demo</title>
<style>
:root{--bg:#F1F1EF;--surface:#fff;--surface-2:#F7F7F5;--line:#E0E0DC;--text:#171717;--muted:#6f6f6f;--accent:#171717;--accent-ink:#fff;--danger:#d92d20}
*{box-sizing:border-box;margin:0}
html,body{height:100%}body{background:var(--bg);color:var(--text);font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Roboto,sans-serif;-webkit-font-smoothing:antialiased}.stage{min-height:100%;display:grid;place-items:center;padding:24px}button,input,select,textarea{font-family:inherit}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}a{color:inherit;text-decoration:none}ul,ol,p,h4{margin:0;padding:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pre{display:flex;gap:5px;flex-wrap:wrap}.pre button{height:28px;padding:0 11px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bx{width:min(330px,100%);display:grid;gap:9px}.rw{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}.rw b{color:var(--text);font-weight:600}input[type=range]{width:100%;accent-color:#171717}
.out{font-size:12px;color:var(--muted);line-height:1.4}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sc{height:150px;border-radius:12px;background:var(--surface);border:1px solid var(--line);display:grid;justify-items:center;align-content:center;gap:0}.hd,.bd{background:var(--cl);transition:border-radius .25s,clip-path .25s,background .25s,width .25s,height .25s}.hd{width:64px;height:64px;position:relative;z-index:1}.bd{width:86px;height:62px;margin-top:-6px}
.e{position:absolute;left:18px;top:24px;width:8px;height:8px;border-radius:50%;background:#222}.e.r{left:38px}.m{position:absolute;left:22px;top:44px;width:20px;height:3px;border-radius:2px;background:#222}
.sc[data-s=c]{--cl:#f2a33a}.sc[data-s=c] .hd{border-radius:50%}.sc[data-s=c] .bd{border-radius:50% 50% 44% 44%;width:90px;height:66px}
.sc[data-s=s]{--cl:#3f6fb0}.sc[data-s=s] .hd,.sc[data-s=s] .bd{border-radius:4px}.sc[data-s=s] .bd{width:94px;height:60px}
.sc[data-s=t]{--cl:#c0392b}.sc[data-s=t] .hd{clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0}.sc[data-s=t] .e{top:36px;left:20px}.sc[data-s=t] .e.r{left:36px}.sc[data-s=t] .m{top:50px;left:24px;width:16px}.sc[data-s=t] .bd{clip-path:polygon(0 0,100% 0,82% 100%,18% 100%);border-radius:0;width:96px;height:62px}
.out{font-size:12px;color:var(--muted)}.out b{color:var(--text)}@media (prefers-reduced-motion:reduce){.hd,.bd{transition:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Shape"><button data-p="0" aria-pressed="true">Circle</button><button data-p="1" aria-pressed="false">Square</button><button data-p="2" aria-pressed="false">Triangle</button></div><div class="sc" id="sc" data-s="c"><div class="hd"><i class="e"></i><i class="e r"></i><u class="m"></u></div><div class="bd"></div></div><p class="out" id="out" aria-live="polite"></p></div>
</div>
<script>
const K=['c','s','t'],T=['<b>Circle:</b> friendly, soft, safe, approachable.','<b>Square:</b> stable, reliable, strong, serious.','<b>Triangle:</b> dynamic, energetic, clever, edgy.'],sc=document.getElementById('sc'),bs=[...document.querySelectorAll('#pre button')];let p=0;
function up(){sc.dataset.s=K[p];document.getElementById('out').innerHTML=T[p];bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.p===p)));}bs.forEach(b=>b.addEventListener('click',()=>{p=+b.dataset.p;up();}));up();
</script>
</body></html>