Principle 10
When a rounded shape sits inside another, its corners have to follow the same curve. The inner radius is the outer radius minus the space between them; anything else looks pinched or swollen at the corners.
In a real interface
✕ Avoid
✓ Do
01
Two rounded rectangles only read as parallel when they share the center of their arcs. With the same radius inside and out, the gap at the corner grows and the inner shape seems to bulge.
Apple built its 2025 design system around this. Its WWDC25 session describes concentric shapes that calculate their radius by subtracting padding from the parent, and warns to watch for corners that feel too pinched, because they create tension and break the sense of balance.
02
Write the rule into the system: inner radius equals outer radius minus padding, counting the border too. A card with 24px corners and 8px of padding holds an image with 16px corners.
Vercel's Web Interface Guidelines say the same in one line: the child radius is equal to or smaller than the parent's and concentric, so the curves align.
03
When the padding is larger than the outer radius, the inner corner goes square. A component that can live inside or outside a container needs a fallback radius for when it stands alone. Capsules are the exception: their radius is half their height, wherever they sit.
✓ Do
✕ Avoid
For agents · PRINCIPLE.md
## Radii are concentric
- Inner radius = outer radius minus padding minus border width.
- If padding is larger than the outer radius, the inner corner is square.
- Components that can stand alone get a fallback radius.
- Capsules keep a radius of half their height in any container.
Enforced bykero-audit nested radii, outer minus insetBADESIGN radii of nested elements shrink inward