Free React modal popup in one file: focus trap, Escape to close, scroll lock, focus return, click outside. Confirm, form, bottom sheet and drawer.
pnpm dlx shadcn@latest add "https://we.inc/r/react-modal-popup-dialog-with-focus-trap-confirm-form-bottom-sheet-and-side-drawer.json"