Sheet
A modal panel that slides in from an edge of the screen (top/right/bottom/left) — for navigation drawers, filters, or forms that need more room than a popover.
Overview
- `size`:
sm(384px, default),md(448px) orlg(672px) caps a left/right sheet from thesmbreakpoint up; a width inclassNamereplaces it.
Installation
CLI
Manual
- 1
Register the @fma-ds namespace in components.json (once)
- 2
Add the item
Files land in
components/fma-ds/sheet.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- class-variance-authority@^0.7.1cn@^0.5.0lucide-react@^1.61.0react-aria-components@^1.22.1
- Registry
- @fma-ds/button