A paired width × height field with an aspect-ratio lock that freezes the ratio when you lock it, clamps both sides against min/max, and ships swap plus size/ratio presets.
npx shadcn@latest add @zyeon/dimension-inputZyeon UI limits how often it can be asked, and Dimension Input hasn't had its turn. Its source will show here once it has.