Skip to main content

Drawer

Status page for the drawer primitive entrypoint.

import * as Drawer from '@gentleduck/primitives/drawer'
import * as Drawer from '@gentleduck/primitives/drawer'

Status

@gentleduck/primitives/drawer is currently a reserved entrypoint.

At this moment, packages/duck-primitives/src/drawer/index.ts does not expose stable public exports.


Current implementation state

  • drawer.hooks.ts contains legacy, commented-out experimental drag logic.
  • drawer.tsx is currently empty.
  • No stable runtime API is exported from this module.

For production usage today, use:

  • @gentleduck/primitives/dialog for base dialog behavior
  • @gentleduck/primitives/sheet for dialog-compatible sheet aliases

Migration note

If you have existing code importing from @gentleduck/primitives/drawer, migrate to sheet or dialog and keep drawer imports out of production bundles until this entrypoint ships a stable API.