Measured entry
shadcn-drawer
sheetunclassifiedmotion on file
A client-side React drawer composed as source code around Vaul primitives. It ships overlay, portal, trigger, close, content, header, footer, title, and description wrappers, with Tailwind classes and a local cn utility providing the styling layer.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 48.6 KB (114.0 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 30.57s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/drawer.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A solid choice inside an existing shadcn-style app: it built, mounted, adapted across the tested viewports, and produced no reported accessibility violations. It needs a shadcn-style setup because the bare project cannot resolve its local utility import.
Use it if
- You want a swipe-aware modal drawer that can open from any screen edge.
- Your app already uses shadcn conventions, Tailwind theme tokens, and a cn class-merging helper.
- You prefer owning a small wrapper layer while Vaul handles drawer behavior and accessibility.
Skip it if
- You need a drop-in package with self-contained styles and no project aliases.
- You want to avoid the added client bundle cost of the Vaul interaction layer.
- Your interface only needs a static side panel without modal or drag behavior.
Install
| Declared dependencies | vaul |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add Vaul, provide the cn class-merging utility or replace its calls, configure the local import alias, and supply Tailwind with the referenced theme tokens, variants, and animation utilities.
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.
Author repository
github.com/shadcn-ui/uiAlternatives
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.
- hextaui-popoverminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 52.9KB
- Bare
- pass
- Prov
- NO
- shadcn-sheetunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 26.3KB
- Bare
- fail
- Prov
- NO
- neobrutalism-nsheetbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 40.5KB
- Bare
- fail
- Prov
- NO
- neobrutalism-sheetbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 40.5KB
- Bare
- fail
- Prov
- NO
- 8bitcn-resizableskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 40.8KB
- Bare
- fail
- Prov
- NO
- 8bitcn-sheetskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 43.8KB
- Bare
- fail
- Prov
- NO