Headroom & Lead Room
Move a subject in the frame and flip the direction it faces; the guide tells you when space is cramped or generous.
AI prompt
Medium close-up of a young man in a denim jacket looking toward the right of the frame, positioned on the left third so that a generous 40 percent of the frame is open space in front of his gaze, comfortable headroom of about 8 percent above his hair, soft evening street background blurred, 85mm lens, natural light, calm and thoughtful mood. Variation: the same subject placed close to the right edge looking right, cramped and uneasy. Always state which side the subject faces and where the empty space is. Negative: subject cut at the forehead, gaze running into the frame edge, centred static composition unless requested, tilted horizon.About this pattern
Definition
Headroom is the space above the subject's head; lead room (look room) is the space in front of the direction they face or move. Good framing balances both so the subject does not look cramped.
When to use it
- Leave more room in front of a face than behind it; a person looking out of the frame at a close edge feels trapped.
- Keep headroom small but present: cutting the top of the head is a deliberate effect, not a default.
- State the space in prompts: "subject on the left third, looking right into open space".
What the controls do
- Face left or right; Position and Headroom sliders; the note rates both spaces.
Motion & timing
- The subject follows the sliders directly.
- Reduced motion: no difference.
Tips & variations
- Recheck lead room when you crop to a different aspect ratio; vertical crops need more headroom care.
- Moving subjects need even more room ahead than still ones.
Code of this live preview
<div class="bx"><div class="fr" id="fr"><div class="gd g1"></div><div class="gd g2"></div><div class="sub" id="sub"><i class="hd"><b class="ey"></b></i><i class="bd"></i></div></div>
<div class="pre" id="pre" role="group" aria-label="Facing"><button data-d="-1" aria-pressed="false">Face left</button><button data-d="1" aria-pressed="true">Face right</button></div>
<div class="two"><label>Position <input id="px" type="range" min="10" max="90" value="33"></label><label>Headroom <input id="hr" type="range" min="0" max="40" value="10"></label></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}
.bx{width:min(320px,100%);display:grid;gap:8px}
.fr{position:relative;height:150px;border-radius:12px;overflow:hidden;background:linear-gradient(#cfd5dd,#e8e2d6)}
.gd{position:absolute;background:rgba(255,255,255,.7)}.g1{left:33.3%;top:0;bottom:0;width:1px}.g2{left:66.6%;top:0;bottom:0;width:1px}
.sub{position:absolute;left:var(--x,33%);top:calc(var(--hr,10) * 1%);width:70px;margin-left:-35px;transform:scaleX(var(--d,1))}
.hd{display:block;position:relative;width:46px;height:56px;margin:0 auto;border-radius:48% 48% 44% 44%;background:#e2c1a2;border:2px solid #171717}
.ey{position:absolute;right:9px;top:20px;width:6px;height:6px;border-radius:50%;background:#171717}
.bd{display:block;width:70px;height:90px;margin-top:2px;border-radius:30px 30px 0 0;background:#3d5a80}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two label{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}input[type=range]{width:100%;accent-color:#171717}
.pre{display:flex;gap:5px}.pre button{flex:1;height:28px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11.5px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.out{font-size:12px;color:var(--muted);line-height:1.45}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{transition:none}}const fr=document.getElementById('fr'),px=document.getElementById('px'),hr=document.getElementById('hr'),out=document.getElementById('out'),bs=[...document.querySelectorAll('#pre button')];let d=1;
function up(){const x=+px.value,h=+hr.value;fr.style.setProperty('--x',x+'%');fr.style.setProperty('--hr',h);fr.style.setProperty('--d',d);bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.d===d)));
const lead=d>0?100-x:x,back=d>0?x:100-x,lt=lead>=back*1.2&&lead>=33?'Good lead room':lead<back?'Cramped: more space behind than in front':'Tight lead room';
const ht=h<3?'Head nearly cut off':h<=16?'Comfortable headroom':h<=28?'Generous headroom':'Too much headroom';
out.innerHTML='<b>'+lt+'</b> ('+Math.round(lead)+'% ahead). <b>'+ht+'</b>.';}
bs.forEach(b=>b.addEventListener('click',()=>{d=+b.dataset.d;up();}));px.addEventListener('input',up);hr.addEventListener('input',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>Headroom & Lead Room — 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}}
.bx{width:min(320px,100%);display:grid;gap:8px}
.fr{position:relative;height:150px;border-radius:12px;overflow:hidden;background:linear-gradient(#cfd5dd,#e8e2d6)}
.gd{position:absolute;background:rgba(255,255,255,.7)}.g1{left:33.3%;top:0;bottom:0;width:1px}.g2{left:66.6%;top:0;bottom:0;width:1px}
.sub{position:absolute;left:var(--x,33%);top:calc(var(--hr,10) * 1%);width:70px;margin-left:-35px;transform:scaleX(var(--d,1))}
.hd{display:block;position:relative;width:46px;height:56px;margin:0 auto;border-radius:48% 48% 44% 44%;background:#e2c1a2;border:2px solid #171717}
.ey{position:absolute;right:9px;top:20px;width:6px;height:6px;border-radius:50%;background:#171717}
.bd{display:block;width:70px;height:90px;margin-top:2px;border-radius:30px 30px 0 0;background:#3d5a80}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two label{display:grid;gap:3px;font-size:11.5px;color:var(--muted)}input[type=range]{width:100%;accent-color:#171717}
.pre{display:flex;gap:5px}.pre button{flex:1;height:28px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-size:11.5px;cursor:pointer}
.pre button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.out{font-size:12px;color:var(--muted);line-height:1.45}.out b{color:var(--text)}
button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{transition:none}}
</style></head>
<body><div class="stage">
<div class="bx"><div class="fr" id="fr"><div class="gd g1"></div><div class="gd g2"></div><div class="sub" id="sub"><i class="hd"><b class="ey"></b></i><i class="bd"></i></div></div>
<div class="pre" id="pre" role="group" aria-label="Facing"><button data-d="-1" aria-pressed="false">Face left</button><button data-d="1" aria-pressed="true">Face right</button></div>
<div class="two"><label>Position <input id="px" type="range" min="10" max="90" value="33"></label><label>Headroom <input id="hr" type="range" min="0" max="40" value="10"></label></div><p class="out" id="out" aria-live="polite"></p></div>
</div>
<script>
const fr=document.getElementById('fr'),px=document.getElementById('px'),hr=document.getElementById('hr'),out=document.getElementById('out'),bs=[...document.querySelectorAll('#pre button')];let d=1;
function up(){const x=+px.value,h=+hr.value;fr.style.setProperty('--x',x+'%');fr.style.setProperty('--hr',h);fr.style.setProperty('--d',d);bs.forEach(b=>b.setAttribute('aria-pressed',String(+b.dataset.d===d)));
const lead=d>0?100-x:x,back=d>0?x:100-x,lt=lead>=back*1.2&&lead>=33?'Good lead room':lead<back?'Cramped: more space behind than in front':'Tight lead room';
const ht=h<3?'Head nearly cut off':h<=16?'Comfortable headroom':h<=28?'Generous headroom':'Too much headroom';
out.innerHTML='<b>'+lt+'</b> ('+Math.round(lead)+'% ahead). <b>'+ht+'</b>.';}
bs.forEach(b=>b.addEventListener('click',()=>{d=+b.dataset.d;up();}));px.addEventListener('input',up);hr.addEventListener('input',up);up();
</script>
</body></html>