Skip to content
English
Don't know what it's called60 / 71

Progressive disclosure

What it's calledProgressive disclosureadvanced optionsGlossary

What goes wrong

A form that lays out every field at once, including the ones almost nobody touches, looks like a tax return and makes the common case feel hard.

The fix

Show the few fields most people fill, and fold the rest behind one row that says how many are inside and opens in place.

Tell your AI

Show only the fields most people fill and put the rest under one "More options (N)" row of height var(--ds-control-lg) (44px) on a var(--ds-surface-2) panel that expands in place over var(--ds-duration-base) (240ms) with var(--ds-ease-out); install the LayQ component smooth-accordion (/registry/v1/controls-smooth-accordion.json) for that row.

  • --ds-control-lg44px
  • --ds-surface-2
  • --ds-duration-base240ms
  • --ds-ease-out
Why AI-generated UIs all look the same: 12 rules that fix it

New product

10 fields to fill

NameLinen tote
Price€38.00
Stock42
CategoryBags
SKULT-0428
Barcode5901234123457
Weight0.32 kg
Tax classStandard
Customs code4202.22
Made inPortugal