Four radii
Choose a corner by its role, not its size.
PreviewFour shapes at actual size.Controls inside cards
Controls and rows
Parts between controls and frames
Cards, menus and other frames
Roles
A standalone control has an 8px corner. Inside a card it takes the 6px inset corner.
Nested corners
Use the frame radius minus the inset, down to 8px.
PreviewInset / corner. Each pair is shown at actual size.0px / 12pxFlush with the frame 4px / 8pxConcentric control 8px / 8pxClear of the curve Keep the scrollbar 2px from the edge and clear of both curves.
PreviewScroll the sample to see the thumb clear both frame corners. The focus ring
The focus ring follows the corner of its control.
Not a radius
Use round or square shapes where the corner scale does not apply.
PreviewAvatars and switch tracks use round shapes.
Round the ends of bars up to 8px tall.
Checkbox corners are part of the icon drawing.
- const inset = 6;+ const control = 8;
Diff lines, selections and chart bars keep square edges.