Skip to content

Cart side drawer

A panel sliding in from the right to show the cart without leaving the page.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

The drawer is a native dialog positioned on the right edge: it traps focus and closes with Escape, the named button or a click on the backdrop. The total and checkout access stay visible at the bottom of the panel, even with many items.

Code

Loading the code…

Archive contents

modale-tiroir-panier-html-tailwind.zip3 files · 4 Ko

  • index.html4 Ko
  • README.md2 Ko
  • LICENSE.md1 Ko

Tags

Updated on October 13, 2026.

In the same spirit

  • A reinforced confirmation asking to type the name of the item to delete.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A search covering the page, with popular suggestions, opened from the navigation bar.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Gallery lightbox

    Coming soon

    Thumbnails that open photos large, with previous / next navigation and caption.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A short form in a window to request a call from an advisor.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
Cart side drawer | Forge