Dialog Route Hash
- from @tealmac
A dialog whose open state is the URL fragment: a link to #help opens it, Back closes it, loading the page with the fragment shows it and focus returns to the opener.
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/dialog-route-hashRegistry dependencies1
- dialog
Packages0
No npm packages are installed with it.
