AI analysis An interactive demo showing corner radius scaling to 12, 16 and 24px as component size grows.
A single-column layout places one blue square at the center of a white background with an XS, S and M segmented control below it. A small gray title sits at the top, and a guide line marking the corner curve with a px value label is attached to the square's top-right corner. Tapping a segment slides the white pill-shaped indicator across while the square's size and corner radius grow or shrink together. It is a useful reference for designing radius tokens that scale with component size and for segmented control motion.
minimal · light-mode
claude-opus-5-5 · 2026-12-03 07:09 · Confidence 0.75
Original post Design Engineering Tip:
If you’re using the same corner radius across your entire UI, try scaling it with the component size:
12px → XS (buttons, tags)
16px → S (cards, inputs)
24px → M (modals, panels)
As components get larger, increasing the radius can help preserve the same visual softness and balance.
526 likes · 15 reposts
x.com/gabriell_lab/status/2066878376778830295