Measured entry
ruixen-bottom-drawers
sheetunclassifiedmotion on file
A client-side React bottom sheet distributed as a shadcn registry component. It accepts separate peek, half, and full content, then uses Motion for drag gestures, spring snapping, progressive reveal, backdrop dimming, and optional Web Audio feedback. Styling is embedded and the host must provide a positioned container.



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 | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 63.1 KB (128.6 KB build, 65.5 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 476ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-bab3736fe0cd/src/cut/demo.jsx".
Verdict
A convincing gesture-first drawer that builds, mounts, and adapts across the tested layouts without framework scaffolding. Treat it as an interaction primitive, not a finished accessible sheet: contrast needs attention, and keyboard, focus, and dialog semantics must be added for production use.
Use it if
- You need a compact mobile surface that exposes progressively richer content as it expands.
- Your interface benefits from drag and flick gestures with preset stopping states.
- You already use Motion or accept adding it for the interaction model.
Skip it if
- You need an accessible dialog or sheet with keyboard controls, focus management, and semantic dismissal built in.
- You cannot revise the low-contrast handle or supplied content colors before release.
- You want content-driven or viewport-driven sheet heights instead of fixed snap geometry.
- You want to avoid the runtime and bundle cost of Motion for a single drawer.
Install
| Declared dependencies | motion |
|---|---|
| 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 |
Copy the client component into the project, install Motion, and render it inside a positioned container with enough height for the drawer. Non-shadcn projects need no registry utilities or provider, but should add dialog semantics, focus handling, keyboard actions, and theme-specific contrast adjustments.
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/ruixenui/ruixen.comAlternatives
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