Util Share Dialog
Share a document with a link, expiration and per-person permissions in a collaborative suite.
About this feature
What it's for
- Share a document with a link, expiration and per-person permissions in a collaborative suite.
- Publish an analytics report as a read-only link with a public exposure warning.
- Invite external reviewers to a repository or workspace with comment permission.
Includes
- Access level selection
- Link generation
- Link permission control
- Link expiry control
- Password protection toggle
- Recipient invitation
- Per recipient permissions
- Recipient removal
Works with
- Radix UI primitives (the registry variant it ships in)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add util-share-dialogInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/util-share-dialogUsed in
A standalone component: drop it into any screen.
- Type
- Feature
- Variants
- Radix UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Sample data
- Ships with sample data in
mock-data.ts; replace it with your own.
- npm packages
lucide-react- Registry dependencies
lib-primitives- Files
4 files
- components/agentic-ui/util-share-dialog/util-share-dialog.tsx
- components/agentic-ui/util-share-dialog/mock-data.ts
- components/agentic-ui/util-share-dialog/types.ts
- components/agentic-ui/util-share-dialog/share-logic.ts
Related components
Agency Image Annotation
Client review of design proofs in an agency portal.
Details and live previewAI Agent Run Trace
Agent debug panel showing reasoning, tool calls with input/output, and the final response.
Details and live previewAI Chat Shell
Internal operations copilot with conversation history, a streaming thread and a per-conversation model picker.
Details and live previewAI Evals Results Table
Prompt eval suite: each nightly run is a column and each golden set case a row.
Details and live preview