Skip to content
English
States are missing40 / 71

Disabled but readable

What goes wrong

A button faded almost to nothing hides what it would do and gives no reason why it cannot be used.

The fix

Keep the label readable in a muted style and say what is needed to turn it on.

Tell your AI

Style disabled controls with a var(--ds-surface-3) background and var(--ds-text-3) text instead of dropping opacity below 0.5, set cursor: not-allowed, and put the reason next to the control at var(--ds-font-size-xs) (12px) in var(--ds-text-2).

  • --ds-surface-3
  • --ds-text-3
  • --ds-text-2
  • --ds-font-size-xs12px
Why AI-generated UIs all look the same: 12 rules that fix it

Your basket

14 items · Fresh market

Delivery timeNot chosen

Total€84.00

Choose a delivery time to pay