Commerce · SU-272
The mobile add-to-cart bar appears only after the main button scrolls away
Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.
-
In-page button
visible, repeated below
-
Thumbnail
40px
Trail Pack 28L
$96
A 28-litre pack with a ventilated back panel and a rain cover that stows in the lid.
Specifications
- Capacity
- 28 L
- Weight
- 1.1 kg
- Fabric
- Recycled nylon
- Closure
- Roll-top
- Warranty
- 5 years
Rain cover included. Fits a 15-inch laptop in the back sleeve.
-
Bar
on from load · 0px inset
-
Bar
56px · after the button scrolls off -
Safe area
34px inset
What changes
- Bad
- The bar is on from load, repeating the in-page button
100pxabove it, and with no safe-area padding its button sits under the home indicator. - Good
- Once the button has scrolled off the top, a
56pxbar slides in with a40pxthumbnail,$96,Navy · Mand the same label, above a34pxsafe-area inset.
The rules
-
SU-272
The mobile add-to-cart bar appears only after the main button leaves. A bottom bar at least 56px tall plus
safe-area-inset-bottomshows a 40px thumbnail, the price with a variant summary, and the same button label. It appears only once the in-page button has scrolled out of view above the viewport, sits below sheets and never over the consent banner or a focused field, and if no variant is chosen its tap opens the variant sheet. It slides in with a 200ms transform.