ShareButton
- from @ouro
A button that shares a link: through the system's share sheet where there is one (phones, Safari), and by copying it where there is not, when it says "Link copied" for two seconds and screen readers hear it once.
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 @ouro/share-buttonComponent source
No live preview has been built for this component yet.
Registry dependencies7
- @ouro/button
- @ouro/lib-announce
- @ouro/lib-class-name-check
- @ouro/lib-cn
- @ouro/lib-env
- @ouro/lib-share
- @ouro/lib-use-dev-messages
Packages0
No npm packages are installed with it.