shibro
Show the version of “Variant pickers show what is chosen and what is unavailable”

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
  • Size L preselected
  • Sold out struck, back Nov 12
  • No size preselected “Select a size”

What changes

Bad
22px swatches chosen by a ring near 1.5:1 with no color name, Slate and XL removed from the options, and L already selected.
Good
36px swatches with a 2px ring plus a check, Color: Navy, Slate and XL kept visible and struck with a return date, no size preselected and Select a size beside 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.