react-code-dataset / ant-design /docs /spec /lightweight.en-US.md
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
metadata
group: Design Patterns
type: Principles
order: 7
title: Keep it Lightweight

Fitts's Law is an ergonomic principle that ties the size of a target and its contextual proximity to ease of use. In other words, if a tool is close at hand and large enough to target, then we can improve the user's interaction. Putting tools in context makes for lightweight interaction.

Fitts's Law:fittsThe time to acquire a target is a function of the distance to and size of the target. It is proportional to the distance to the target and inversely proportional to the width of the target.


Always-Visible Tools

example of Always-Visible Tools, from Zhihu

Hover-Reveal Tools

example of Hover-Reveal Tools

Toggle-Reveal Tools

example of Toggle-Reveal Tools

Visible Area ≠ Clickable Area

example of hypertext hot spot
example of button hot spot