NV-06Navigation
Smooth Drawer
Checkout bottom sheet on Vaul snap points, peeking at the total and dragging up for details.
PRODocs Search and more like it are in Kokonut UI Pro
Installation
Smooth Drawer is a free, open-source React component in the Kokonut UI Navigation collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/smooth-drawer.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/smooth-drawerOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/smooth-drawer.tsx.
npm install lucide-react motionUsage
import SmoothDrawer from "@/components/kokonutui/smooth-drawer";
export default function Example() {
return <SmoothDrawer />;
}Props
titlestringDefault "Order summary"descriptionstringLine under the title. Defaults to the item count and arrival estimate.
itemsOrderItem[]Default built-intaxRatenumberDefault 0.08Tax rate applied to the subtotal.
currencystringDefault "USD"ISO 4217 currency code.
triggerLabelstringDefault "Review order"confirmLabelstringDefault "Pay"onConfirm(summary: OrderSummary) => voidCalled with the final breakdown; the sheet closes afterwards.
openbooleandefaultOpenbooleanDefault falseonOpenChange(open: boolean) => voidOrderItem
idrequiredstringnamerequiredstringdetailstringVariant line, e.g. "Sand · M".
pricerequirednumberUnit price.
quantitynumberOrderSummary
deliveryrequiredDeliverySpeedsubtotalrequirednumbershippingrequirednumbertaxrequirednumbertotalrequirednumberDeliverySpeed
type DeliverySpeed = "standard" | "express";Dependencies
| Needs | Version | Comes from |
|---|---|---|
lucide-react | ^0.556.0 | npm, installed by the CLI |
motion | ^12.23.25 | npm, installed by the CLI |
drawer | shadcn/ui, added by the CLI | |
button | shadcn/ui, added by the CLI | |
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

