ShareDialog

App

Share modal: copyable link, email invitation with permission picker, and a list of current invitees with permission/remove controls.

With invitees

Preview

Share

Invite people or copy the link.

People with access (3)

  • AB

    Alice Brooks

    alice@example.com

    Owner
  • MR

    Marcus Reed

    marcus@example.com

  • PS

    Priya Sharma

    priya@example.com

Code
<%- include('modules/app/ShareDialog', {
  open: true,
  shareUrl: 'https://app.example.com/docs/x4y9-zk7',
  invitees: [
    { id: '1', name: 'Alice Brooks', email: 'alice@example.com',  permission: 'owner'  },
    { id: '2', name: 'Marcus Reed',  email: 'marcus@example.com', permission: 'editor' },
    { id: '3', name: 'Priya Sharma', email: 'priya@example.com',  permission: 'viewer' }
  ]
}) %>

Empty / link only

Preview

Share

Invite people or copy the link.

Code
<%- include('modules/app/ShareDialog', {
  open: true,
  shareUrl: 'https://app.example.com/projects/empty-share',
  invitees: []
}) %>
Source modules/app/ShareDialog.ejs