Sticky Cart
- from @shadcn-ui-blocks
A cart summary pinned to the side as you scroll, holding items, totals, and a checkout button. Keeps payment in reach on long product and listing pages.
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 @shadcn-ui-blocks/ecommerce-shopping-cart-sticky-cartRegistry dependencies0
The CLI adds no other registry items with this one.