Back to blocks
BlockDashboard / ApplicationFree

Share Settings Modal React component

A share dialog for a document: add people from a directory with keyboard autocomplete, set each person's access or remove them, choose general access (restricted, everyone in the workspace, anyone with the link) with its own role, link settings for expiry, password and downloads, copy link and notify people.

About the Share Settings Modal component

Share Settings Modal is the familiar share dialog for documents, files and projects: who has access, what each person can do, and who else can open it with a link.

Adding someone is quick, with suggestions from your directory that work with the keyboard. Each person gets view, comment or edit access, general access decides whether the whole workspace or anyone with the link can open it, and link settings add an expiry, a password or a block on downloads.

When to use it

Use it for documents, dashboards, folders, projects and any resource that people share with specific colleagues or by link.

To bring new people into the whole workspace, use Invite Members Modal.

Installation

Add the Share Settings Modal component to your project with the shadcn CLI. It lands in components/share-settings-modal.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/share-settings-modal

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Dashboard / Application components

Notification Preferences Panel
Free
Invite Members Modal
Free
Member Profile Card
Free
Advanced Filter Builder
Free
Feedback Rating Card
Free
Upload Queue Panel
Free