A premium slide-out shopping cart component using a Sheet overlay. It includes features for item quantity management, subtotals, and a checkout call-to-action.
Live Preview
Installation
npx kinetic-ui-cli@latest add cartUsage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { Cart } from "@/components/creative/cart";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { Cart } from "@/components/creative/cart";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<Cart
items{/* value */}
onUpdateQuantity="example"
onRemoveItem="example"
/>
</div>
);
}