Drawer
A panel that slides in from an edge of the screen, with swipe-to-dismiss and snap-point support. Uses @base-ui/react (not react-aria-components), so its API and data attributes differ from this repo's other overlays.
Installation
CLI
Manual
- 1
Register the @fma-ds namespace in components.json (once)
- 2
Add the item
Files land in
components/fma-ds/drawer.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- @base-ui/react@^1.9.0cn@^0.5.0
- Registry
- None