📐Corner Radius
Also known as Border Radius, Rounded Corners, Radius Token
How round a shape's corners are. Zero is sharp; half the height is a pill.
Think of it like
It is like sanding the corners of a wood block. Sharp corners turn into soft curves.
Example
An app uses 8 on cards, 4 on fields and a full pill on buttons. Every screen feels like the same family.
Why it matters
A few fixed curves are a quiet part of how a product feels. Mixing them looks sloppy.
Definition
Example code
css
.card { border-radius: 8px; }
.pill { border-radius: 999px; }Common mistake
Key takeaways
- 1Zero to pill. Sharp to fully round.
- 2A few fixed values. Stored as tokens.
- 3Sets the mood. Round is friendly.