Floating Cart
A cart that floats over the page as a small overlay, showing added items and a subtotal. Lets shoppers review picks without leaving the product they browse.
A cart that floats over the page as a small overlay, showing added items and a subtotal. Lets shoppers review picks without leaving the product they browse.
Search blocks by description or jump to a page.
Floating Cart sits fixed in the bottom-right corner of the viewport. A circular toggle button opens and closes the panel. When open, a card slides up from the button showing a scrollable item list, each row containing a thumbnail, product name, color and size attributes, an inline quantity stepper, a line total with an optional crossed-out original price, and a trash icon to remove the item. Below the item list an order summary section shows subtotal, shipping (waived automatically when the order clears $200), and total. A footer row carries a free-shipping notice, a primary checkout button, and a secondary view-cart link.
Every piece of copy and every item is independent. You can swap product names, prices, and images, change the free-shipping threshold, add or remove cart entries, or drop the view-cart link entirely without affecting the overlay mechanics.
Use this block when a shopper needs to see cart contents without navigating away from a browsing or selection view. It suits a logistics and delivery platform where operators are adding multiple service packages or delivery slots to an order and need to confirm running totals while still choosing options. It outperforms an inline cart section on pages where screen real estate is shared with product grids or configuration panels, since the overlay appears only on demand.
A natural flow around it on an Ecommerce page:
Before
After
The block has three clearly separated regions you can edit independently:
Tip: keep the item list to three or four entries in the demo state so the panel fits the viewport without scrolling on first open.