Icon padding

Icon padding

Icon padding is the empty space between an icon and the edges of its container. In the example, the arrows mark the room left around the heart.

Padding keeps the icon from looking cramped and makes icons of different shapes look balanced when they sit side by side.

Padding can also help with tapping, but only when it sits inside the interactive button. Then the visible icon can stay small while the tappable area is larger. On Android, a 24 dp icon with 12 dp of padding on each side makes a 48 dp target, the recommended minimum; Apple recommends at least 44 × 44 pt.