Shaf Lab

UX affordances

Cues in an interface that suggest how something can be used.

A UX affordance is a cue in an interface that suggests how something can be used: a button that looks pressable, a handle that looks draggable, a link that looks like a link. The cue should match the action. When it does, people can move quickly without instruction. When it does not, they hesitate, click the wrong thing, or miss the action entirely.

Good affordances are visible, consistent, and honest. A control that looks like a heading will not be used as a control. A row that looks static should not delete on swipe unless you have given a clear hint. Hover and focus states are part of the affordance, especially for keyboard users, but they should not be the only cue on a touch device.

This matters even more when an agent is assembling a UI. A model can place a control that looks right and does the wrong thing, or the reverse. Constrain the catalog so every component has a single, expected use, and review generated screens for false cues: decorative icons that look clickable, or important actions that look like plain text.

If you have to write a label that says 'click here,' the affordance is not doing its job. Fix the control, not the copy, whenever you can.