Back to Components
Components
Cart Item
Cart row with thumbnail, title, inline quantity selector, price, and remove button.
No image
Everyday Cotton Tee
$32.00
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/cart-item.tsx
Installation
Using shadcn CLI
npx shadcn add cart-item --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge