Commerce · SU-269
Variant pickers show what is chosen and what is unavailable
Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.
-
Swatches
22px · ring 1.5:1 -
Color name
missing
-
Selected color
2px ring + check
Roll-Top Daypack
Waterproof · 24L · 0.9 kg
$64
Color
Size
Roll-Top Daypack
Waterproof · 24L · 0.9 kg
$64
Color: Navy
SizeSelect a size
Slate, XL: back Nov 12 · Notify me
-
Size
L preselected
-
Sold out
struck, back Nov 12 -
No size preselected
“Select a size”
What changes
- Bad
22pxswatches chosen by a ring near1.5:1with no color name, Slate and XL removed from the options, andLalready selected.- Good
36pxswatches with a2pxring plus a check,Color: Navy, Slate and XL kept visible and struck with a return date, no size preselected andSelect a sizebeside the sizes.
The rules
-
SU-269
Variant selectors show what is chosen and what is unavailable. Swatches are 32-40px visuals with a 44px hit area; the selected one gets a 2px ring plus a check (not color alone) and the label reads "Color: Navy". Sizes are text buttons at least 48px wide in a wrapping grid (up to about 14), not a select. Unavailable options stay visible, dimmed with a diagonal strike and named as sold out, with the return date or a backorder where stock allows. Nothing is preselected for size: pressing Add without one shows "Select a size" beside the sizes and moves focus there. Choosing a variant swaps image and price in place with no layout shift.