fma-ds

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.

OverlayshadcnMITChangelogRegistry JSON

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/drawer

    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