算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
hicks-law-defaults【设计与创意】Use this skill when the question is what to *pre-select* in a list of options — radio groups, dropdowns, configuration UIs, plan pickers, sign-up flows, settings. A strong default is the highest-leverage Hick's Law mitigation: most users accept the default, paying almost no decision cost. Trigger when picking what's selected on first load, when stake…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
hicks-law; read that first if you haven''t already.'Strong defaults are the highest-leverage way to reduce Hick's Law cost. When the system pre-selects the most likely option, the user faces a much smaller decision: "accept the default" or "look at the alternatives." Most users accept; the decision is effectively zero cost. The minority who don't accept now do face the original Hick's Law cost — but only when their preferences differ from the default.
A good default is worth the design effort when:
A bad default appears when:
Defaults vary in strength and cognitive cost:
The default option is highlighted/selected, but the user must explicitly confirm to proceed.
<form>
<fieldset>
<legend>Email digest</legend>
<label><input type="radio" name="digest" value="off" /> Off</label>
<label><input type="radio" name="digest" value="daily" checked /> Daily (recommended)</label>
<label><input type="radio" name="digest" value="weekly" /> Weekly</label>
</fieldset>
<button>Continue</button>
</form>
The user sees "Daily" pre-selected. They can change it; they must press Continue regardless. Low-pressure, ethical, effective.
The default is set silently; if the user doesn't change it, it takes effect when they continue.
This is appropriate for non-consequential settings (sort order, theme preference). Less appropriate for material commitments.
The default takes effect unless the user actively unchecks or selects another option. Common in privacy and notification settings.
This crosses an ethical line in many contexts. Reserve it for choices where the default genuinely serves the user (e.g., critical security notifications on by default).
A choice is made for the user with explicit disclosure — "We've set this for you based on your role; you can change it in settings."
Useful when defaults are derived from earlier signals and the user might wonder why the system "knows" their preference.
If you know the user's locale, you know their currency, date format, language, timezone. Default to those.
<select name="currency">
<option value="USD" selected>USD ($)</option> <!-- defaulted from IP -->
<option value="EUR">EUR (€)</option>
<option value="GBP">GBP (£)</option>
…
</select>
If you know the user's role, you know which features they're likely to use; default the dashboard view to those.
Run analytics. If 70% of teams pick "Standard" plan, default to Standard. If 80% of users want "All notifications," default to All.
This works until the popular choice is popular only because it was the default — a feedback loop. Periodically test by flipping the default to a different option and measuring the new acceptance rate; if it's still 70%+, the default is genuinely matching preferences.
When in doubt, default to the option that's hardest to recover from an "incorrect default." Defaulting to "private" is safer than "public" — public-by-mistake leaks; private-by-mistake just requires sharing later.
If the user picked an option last time, default to it this time. "Recently used templates," "last upload directory," "previous report filter."
Pair the default with an explicit signal that it's the recommended choice:
<RadioGroup defaultValue="pro">
<Option value="starter">Starter</Option>
<Option value="pro">
Pro
<Badge>Recommended</Badge>
</Option>
<Option value="enterprise">Enterprise</Option>
</RadioGroup>
This is honest — you're disclosing that you have a recommendation — and it tells users "if you don't have a strong opinion, this one's safe."
There are cases where forcing the user to choose is the right move:
For these cases, leave the choice unset and disable the proceed button until the user picks. The Hick's Law cost is real but justified.
Three plans, one is by far the most popular. Default to it; mark it as recommended.
<form>
<fieldset class="plan-picker">
<legend class="sr-only">Pick a plan</legend>
<label class="plan">
<input type="radio" name="plan" value="starter" />
<strong>Starter</strong>
<p>Free for 14 days. Single user.</p>
</label>
<label class="plan plan--recommended">
<input type="radio" name="plan" value="pro" checked />
<strong>Pro</strong>
<span class="recommended-badge">Recommended</span>
<p>$29/mo. Up to 5 users.</p>
</label>
<label class="plan">
<input type="radio" name="plan" value="team" />
<strong>Team</strong>
<p>$99/mo. Up to 25 users.</p>
</label>
</fieldset>
<button class="primary">Continue with Pro</button>
</form>
Note the button label reflects the default ("Continue with Pro"), so the user is reminded what they're committing to. If they change selection, the label updates.
Most users want notifications on, but not at maximum frequency. Default to a sane middle.
<form>
<fieldset>
<legend>How often should we email you?</legend>
<label><input type="radio" name="freq" value="instant" /> Real-time (may be a lot)</label>
<label><input type="radio" name="freq" value="daily" checked /> Daily digest <span class="hint">(default)</span></label>
<label><input type="radio" name="freq" value="weekly" /> Weekly digest</label>
<label><input type="radio" name="freq" value="off" /> Off</label>
</fieldset>
</form>
The explicit "(default)" annotation removes any guessing about why "Daily digest" is selected.
For a "Reports" page, default to a sensible range based on context.
const lastUsedRange = localStorage.getItem('reports.range');
const defaultRange = lastUsedRange ?? 'last_30_days';
The user is most likely to message the same people they recently messaged. Surface those as a "Recent" group at the top of the picker; the default is to type to filter.
[Search recipient________________]
Recent
● Maria Mendoza
● Marketing team
● Lin Chen
All people
● …
Recents collapse Hick's Law nearly to zero for repeat tasks.
hicks-law (parent).hicks-law-menus — the complementary case where defaults aren't appropriate (the menu is a list of actions, not a choice with one obvious answer).hicks-law-pricing — defaults are central to pricing tier selection.satisficing — the cognitive principle that explains why defaults work: users accept the first acceptable option.framing — how the default is labeled (e.g., "Recommended") affects acceptance rate.nudge (interaction) — defaults are the canonical nudge; treat them as a design responsibility.