fma-ds

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.

OverlaycustomizedMITChangelogRegistry JSON

Overview

  • `size`: sm (384px, default), md (448px) or lg (672px) caps a left/right sheet from the sm breakpoint up; a width in className replaces it.

Installation

  1. 1

    Register the @fma-ds namespace in components.json (once)

    components.json
    {  "registries": {    "@fma-ds": "https://ds.fmartinsandre.dev.br/r/{name}.json"  }}
  2. 2

    Add the item

    pnpm dlx shadcn@latest add @fma-ds/sheet

    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