Measured entry

kokonut-smooth-drawer

sheetdark-futuristicmotion on file

A client-side purchase drawer delivered as a shadcn registry component. It combines Vaul-based drawer primitives with Motion animations, Tailwind classes, and shadcn button utilities, while also importing Next.js Image and Link plus a Lucide icon. Its default content is a KokonutUI pricing prompt rather than a neutral sheet.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of kokonut-smooth-drawer at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-smooth-drawer at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kokonut-smooth-drawer at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for kokonut-smooth-drawer
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal114.0 KB (179.4 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1m 28s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/button.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A credible, working purchase drawer with clean responsive behavior and no observed accessibility violations. It is opinionated and dependency-heavy for a small prompt, and it needs a shadcn-style setup before it can build outside the prepared harness.

Use it if

  • You need a polished bottom drawer for a focused upgrade or purchase prompt.
  • Your Next.js app already uses Tailwind and shadcn drawer and button primitives.
  • You are prepared to replace the bundled logo, sales copy, pricing, and checkout destination.

Skip it if

  • You need a framework-neutral React drawer without Next.js Image and Link imports.
  • Bundle weight is tightly constrained and the added animation and drawer dependencies are not otherwise shared.
  • You want a generic reusable sheet instead of a purchase-specific composition.
  • Your accessibility policy requires reduced-motion behavior without additional implementation.

Install

Installation record for kokonut-smooth-drawer
Declared dependenciesmotion, vaul, radix-ui
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Tailwind, the shadcn drawer and button implementations, Vaul and their Radix dependencies, the shared class-name utility and path alias, Motion, and Lucide React. Provide Next.js Image and Link equivalents or replace those imports, add the referenced logo asset, then update the hard-coded checkout link and sales content.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Alternatives

Other published entries for the sheet pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.