Share Dialog 1 – Scoped link for a conversation
- from @shadcncraft
Publishes a conversation to a link. Picking who can see it is the act of sharing, so there is no second confirm button and the link is one click from the clipboard. Opens from the control you already render, a header button or a row in a thread menu. Works with no backend behind it, and takes a real one when you have it.
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 @shadcncraft/share-dialog-1Registry dependencies5
- button
- dialog
- field
- radio-group
- @shadcncraft/code-snippet-2
