Pass onOpenChange to render a close button that calls it with false. Drawer renders no close button of its own, so this is the usual visible way to close.
pnpm dlx shadcn@latest add "https://astryx.atmeta.com/shadcn/example-drawer-header-with-close-button.json"