Overflow Pressure

Treat shrinking space as pressure: padding and the gaps between chips shrink continuously as the container narrows, down to a floor. No layout switch, just continuous scaling and the chips wrapping onto new lines as they run out of room.

Overflow pressure
ReactCSSTypeScriptNext.js