Permission Prompt Sheet
- from @tealmac
A bottom sheet that explains why you need a permission before the browser asks, with Allow and Not now buttons, and remembers a refusal so it does not nag. Use this when you need notifications, location or the camera and a cold browser prompt would be refused.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @tealmac/permission-prompt-sheetRegistry dependencies2
- button
- @tealmac/bottom-sheet
