Shopping Cart 1 – Overlay with itemized list and checkout
- from @shadcncraft
A functional slide-out cart interface that appears as an overlay on the right side of the screen. It features a clear itemized list of added products, including thumbnail images, titles, brief descriptions, quantities, and prices. The layout is completed by a subtotal calculation at the bottom and a prominent button, providing a seamless transition from browsing to final purchase without leaving the current page.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/shopping-cart-1Registry dependencies5
- drawer
- button
- separator
- @shadcncraft/cart-item-1
- @shadcncraft/section-heading
Packages0
No npm packages are installed with it.
