Default effect

기본값 효과

A preselected option often persists because changing it takes action.

···
html
<div class="defaults"><div class="heading">NOTIFICATION SETTING</div><div class="options"><div class="option"><i></i><span>WEEKLY DIGEST</span></div><div class="option"><i></i><span>NO DIGEST</span></div></div><div class="choice">STARTING CHOICE <b id="picked">WEEKLY DIGEST</b></div></div>
css
@media(min-width:700px){body>div{transform:scale(1.45)}}.defaults{width:min(88%,520px);font:800 clamp(10px,max(2vmin,1vw),15px)/1.2 sans-serif}.heading{letter-spacing:.1em;border-bottom:2px solid var(--fg);padding-bottom:7px}.options{display:flex;gap:clamp(6px,2vmin,20px);margin:clamp(13px,4vmin,28px) 0}.option{flex:1;display:flex;align-items:center;gap:clamp(5px,1.5vmin,12px);padding:clamp(6px,2vmin,18px);background:var(--surface);border:2px solid var(--line);min-width:0;transition:.3s}.option.on{border-color:var(--accent);box-shadow:4px 4px 0 var(--accent)}.option i{width:clamp(14px,3vmin,22px);height:clamp(14px,3vmin,22px);border:2px solid var(--fg);border-radius:50%;flex:none}.option.on i{background:var(--accent);box-shadow:inset 0 0 0 3px var(--surface)}.option span{font-size:clamp(10px,max(1.6vmin,1vw),12px)}.choice{font-size:clamp(10px,max(1.7vmin,1vw),12px);color:var(--muted)}.choice b{color:var(--accent);margin-left:5px}
js
const options=[...document.querySelectorAll('.option')];const label=document.querySelector('#picked');let selected=0;function draw(){options.forEach((item,i)=>item.classList.toggle('on',selected===i));label.textContent=selected?'NO DIGEST':'WEEKLY DIGEST'}draw();const timer=setInterval(()=>{selected=1-selected;draw()},1600);options.forEach((item,i)=>item.addEventListener('click',()=>{clearInterval(timer);selected=i;draw()}));

The default effect describes how a starting option can persist because changing it requires effort. A prechecked control is therefore part of the decision path, not merely decoration.

The demo alternates which notification option starts selected and moves an illustrative choice indicator. That indicator explains the mechanism; it is not observed customer data.

Do not infer consent from a prechecked box where explicit agreement is required. Make alternatives easy to find and measure actual choices.

When to use

Review defaults in onboarding and settings against user benefit and consent requirements.

Open as page ↗