Skip to content

E-commerce

Components for online stores.

25 component(s)

Sticky Add to Cart Bar for Shopify – Shopify product details preview

Sticky Add to Cart Bar for Shopify

Shopify section: a bar fixed to the bottom of product pages that appears once the main add-to-cart button scrolls away, with image, price, variant select and a real product form.

Product Detail with Image Zoom Lens – Tailwind CSS product details preview

Product Detail with Image Zoom Lens

Tailwind CSS product detail section with a round magnifier lens that zooms the photo on hover or arrow keys, plus adjustable 2x to 4x levels.

Usage-Based Pricing Slider – Tailwind CSS pricing tables preview

Usage-Based Pricing Slider

Tailwind CSS pricing card with a range slider that updates the plan, monthly price and cost per 1,000 requests as usage changes.

One-Page Checkout with Payment Options – Tailwind CSS checkout preview

One-Page Checkout with Payment Options

Tailwind CSS one-page checkout with shipping address, shipping method cards, card / wallet / bank payment tabs, discount code and a live order summary.

Printable Invoice Layout – Tailwind CSS order history preview

Printable Invoice Layout

Tailwind CSS invoice with line items, auto-calculated discount, tax and balance due, a print button and print-friendly A4 styles.

Cart with Saved for Later Section – Bootstrap 5 shopping carts preview

Cart with Saved for Later Section

Bootstrap 5 cart page with product photos, quantity selects, a saved for later list and a live order summary with free-shipping progress.

Coupon Ticket – Pure CSS promo banners preview

Coupon Ticket

Ticket-style discount coupon with a striped stub, dashed perforation with notches and a copy code button with clipboard fallback and live feedback.

Pricing Cards with Hover – Pure CSS pricing tables preview

Pricing Cards with Hover

Three pure CSS pricing cards with hover lift and a featured plan that has a spinning conic-gradient border, glow and Most popular badge.

Product Card with Quick Actions – Pure CSS product cards preview

Product Card with Quick Actions

Responsive product card grid where hover or focus reveals wishlist, quick view and add-to-cart actions, with star ratings and a native quick view dialog.

Pricing Cards with Billing Toggle – Bootstrap 5 pricing tables preview

Pricing Cards with Billing Toggle

Bootstrap 5 pricing cards with a Monthly / Annual segmented switch that updates prices, savings and yearly totals, plus a highlighted featured plan.

Pricing Comparison Table – Bootstrap 5 pricing tables preview

Pricing Comparison Table

Dark Bootstrap 5 plan comparison table with grouped features, highlighted popular plan, sticky feature column, tooltips and a show-only-differences switch.

Checkout Form with Order Summary – Bootstrap 5 checkout preview

Checkout Form with Order Summary

Bootstrap 5 one-page checkout with contact, shipping, delivery and payment sections, card input masks, validation, promo code and a live order summary.

Mini Cart Dropdown – Bootstrap 5 shopping carts preview

Mini Cart Dropdown

Bootstrap 5 navbar mini cart dropdown with quantity steppers, remove buttons, free-shipping progress, live subtotal and checkout button.

Bootstrap Product Page – Bootstrap 5 product details preview

Bootstrap Product Page

Bootstrap 5 product details page with image gallery, color and size pickers, quantity stepper, and tabs for description, specifications and customer reviews.

Product Listing Grid – Bootstrap 5 product grids preview

Product Listing Grid

Responsive Bootstrap 5 product grid with sale, new, bestseller and sold-out badges, color swatches, wishlist buttons, sorting and client-side pagination.

Shopping Cart Page – Tailwind CSS shopping carts preview

Shopping Cart Page

Tailwind CSS shopping cart with quantity steppers, remove buttons, free shipping progress bar, promo code field and a live-updating order summary.

Product Detail with Gallery – Tailwind CSS product details preview

Product Detail with Gallery

Dark Tailwind CSS product page section with a thumbnail image gallery, finish options, quantity stepper and add to cart button with loading state.

Product Grid with Filters – Tailwind CSS product grids preview

Product Grid with Filters

Tailwind CSS category page with a collapsible filter sidebar, live result count, empty state and a product grid sortable by price, rating or date.

Product Card with Color Options – Tailwind CSS product cards preview

Product Card with Color Options

Tailwind CSS product card with live-recoloring color swatches, a size selector with sold-out state, wishlist toggle and add to bag button.

Promo Banner with Countdown – Tailwind CSS promo banners preview

Promo Banner with Countdown

Dark Tailwind CSS sale banner with a live countdown timer, discount code, call-to-action button and a dismiss control.

Product Reviews – Tailwind CSS reviews preview

Product Reviews

Tailwind CSS product reviews section with a clickable rating breakdown filter, sorting and helpful vote buttons.

Order History – Tailwind CSS order history preview

Order History

Tailwind CSS order history list with status filter chips, colored status badges and expandable order details.

Order Summary with Coupon – Tailwind CSS checkout preview

Order Summary with Coupon

Tailwind CSS checkout order summary card with a discount code field, live totals, tax and a free shipping progress bar.

What are e-commerce components?

E-commerce components are the interface pieces every online store needs: product cards and grids, product detail pages, image galleries for products, shopping carts and mini carts, checkout forms, order summaries, pricing tables, filters and sorting bars, reviews and ratings. Combined, they cover the path from browsing a catalogue to completing a purchase.

What you will find in this category

  • Product cards, product lists and category grids.
  • Product detail layouts with galleries, variant selectors and add-to-cart buttons.
  • Cart pages, cart drawers and quantity controls.
  • Checkout steps, shipping and payment form layouts, and order confirmations.
  • Pricing tables, discount banners and review blocks.

Best practices for store interfaces

Clarity sells. Show the price, availability and main action without making users scroll, and keep the "Add to cart" button visually dominant. Product images should have descriptive alt text, fixed aspect ratios to avoid layout shift, and lazy loading below the fold. Quantity steppers need real buttons with accessible labels and an input users can type into.

In the cart and checkout, show totals, shipping and taxes clearly and early, keep the form as short as possible, use correct autocomplete values for addresses and payment fields, and display validation errors next to each field. A progress indicator helps on multi-step checkouts. Make sure filter and sort controls work with the keyboard and announce result updates. These snippets are front-end markup only: connect them to your own cart logic and payment provider.

Framework versions

E-commerce snippets come in Bootstrap 6, Bootstrap 5, Tailwind CSS and pure CSS versions. Bootstrap 6 alpha examples use theme-* colour roles and <dialog>-based components for overlays such as cart drawers, while Bootstrap 5 examples use the standard grid, card and offcanvas classes. Use the framework filter and live preview to find a design that fits your store, then copy the code or download it and replace the sample products with your own.