Members New
Who is in a workspace and as what: roles to change, invitations to send and the ones not answered yet.
A members block is where a workspace's owner sees who can get in and as what, changes a role, and asks someone new to join. The people are a list on a sheet, each role a native select, and the invitation a form in a dialog. The invitations nobody has answered yet stand under the people, apart from them, because an address that was written to is not yet a member.
Members
<section class="container-inline flex flex-col gap-lg max-w(720) mx-auto" aria-labelledby="members-title"> <header class="flex flex-wrap items-end justify-between gap-md"> <div class="flex flex-col gap-2xs min-w(0)"> <h2 class="heading heading-lg" id="members-title">Members</h2> <p class="m(0) fg-text-muted">Five people work in Atlas Labs. Each takes one seat on Pro.</p> </div> <button type="button" class="btn btn-primary" commandfor="members-invite" command="show-modal"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L13 8" /><path d="M8 3L8 13" /> </svg>Invite a member </button> </header> <div class="sheet px-md py-xs px-lg@container(--md)"> <ul class="list"> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title"> Yi-ching Lin <span class="badge badge-sm vertical-middle">You</span> </p> <p class="list-description">yiching@atlaslabs.dev</p> </div> <span class="list-end fg-text-muted">Owner</span> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Po-han Chen</p> <p class="list-description">pohan@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Po-han Chen"> <option class="select-option" selected>Admin</option> <option class="select-option">Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-pohan" aria-label="More for Po-han Chen"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none" /> </svg> </button> <div id="members-menu-pohan" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-pohan" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-pohan" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Misaki Sato</p> <p class="list-description">misaki@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Misaki Sato"> <option class="select-option" selected>Admin</option> <option class="select-option">Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-misaki" aria-label="More for Misaki Sato"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none" /> </svg> </button> <div id="members-menu-misaki" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-misaki" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-misaki" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Seo-yeon Kim</p> <p class="list-description">seoyeon@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Seo-yeon Kim"> <option class="select-option">Admin</option> <option class="select-option" selected>Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-seoyeon" aria-label="More for Seo-yeon Kim"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none" /> </svg> </button> <div id="members-menu-seoyeon" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-seoyeon" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-seoyeon" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Kenta Nakamura</p> <p class="list-description">kenta@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Kenta Nakamura"> <option class="select-option">Admin</option> <option class="select-option" selected>Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-kenta" aria-label="More for Kenta Nakamura"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none" /> </svg> </button> <div id="members-menu-kenta" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-kenta" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-kenta" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> </ul> </div> <section class="flex flex-col gap-sm" aria-labelledby="members-pending-title"> <h3 class="heading heading-sm" id="members-pending-title">Pending invitations</h3> <div class="sheet px-md py-xs px-lg@container(--md)"> <ul class="list"> <li class="list-row"> <div class="list-body"> <p class="list-title">chiahao@atlaslabs.dev</p> <p class="list-description"> Member, expires <time datetime="2026-11-28">28 Nov</time> </p> </div> <div class="list-end flex items-center gap-2xs"> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to chiahao@atlaslabs.dev"> Resend </button> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to chiahao@atlaslabs.dev"> Revoke </button> <button type="button" class="btn btn-quiet btn-square btn-sm hidden@container(--md)" popovertarget="members-menu-chiahao" aria-label="More for the invitation to chiahao@atlaslabs.dev"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none" /> </svg> </button> <div id="members-menu-chiahao" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-chiahao" popovertargetaction="hide"> Resend invitation </button> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-chiahao" popovertargetaction="hide"> Revoke invitation </button> </div> </div> <p class="list-meta"> <span>Invited by Po-han Chen on <time datetime="2026-11-21">21 Nov</time></span> </p> </li> <li class="list-row"> <div class="list-body"> <p class="list-title">yuna@atlaslabs.dev</p> <p class="list-description"> Viewer, expires <time datetime="2026-11-30">30 Nov</time> </p> </div> <div class="list-end flex items-center gap-2xs"> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to yuna@atlaslabs.dev"> Resend </button> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to yuna@atlaslabs.dev"> Revoke </button> <button type="button" class="btn btn-quiet btn-square btn-sm hidden@container(--md)" popovertarget="members-menu-yuna" aria-label="More for the invitation to yuna@atlaslabs.dev"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <circle cx="3.5" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="8" cy="8" r="1.05" fill="currentColor" stroke="none" /><circle cx="12.5" cy="8" r="1.05" fill="currentColor" stroke="none" /> </svg> </button> <div id="members-menu-yuna" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-yuna" popovertargetaction="hide"> Resend invitation </button> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-yuna" popovertargetaction="hide"> Revoke invitation </button> </div> </div> <p class="list-meta"> <span>Invited by you on <time datetime="2026-11-23">23 Nov</time></span> </p> </li> </ul> </div> </section> <dialog id="members-invite" class="dialog" aria-labelledby="members-invite-title" aria-describedby="members-invite-description"> <header class="dialog-header"> <h2 class="dialog-title" id="members-invite-title">Invite a member</h2> <p class="dialog-description" id="members-invite-description"> They get an email with a link that works for seven days. </p> </header> <form class="dialog-body flex flex-col gap-md" method="dialog" id="members-invite-form"> <label class="field"> Email <input class="input" type="email" name="email" autocomplete="off" required autofocus> </label> <div class="field"> <label for="members-invite-role">Role</label> <select class="select" id="members-invite-role" name="role" aria-describedby="members-invite-role-hint"> <option class="select-option">Admin</option> <option class="select-option" selected>Member</option> <option class="select-option">Viewer</option> </select> <p class="field-hint" id="members-invite-role-hint"> A member deploys and reads logs. An admin also manages people and environment variables. A viewer only reads. </p> </div> <p class="m(0) fg-text-muted"> All five seats are taken. A sixth adds $20 a month from the day the invitation is accepted. </p> </form> <footer class="dialog-footer"> <button type="button" class="btn" commandfor="members-invite" command="close">Cancel</button> <button type="submit" class="btn btn-primary" form="members-invite-form"> Send invitation </button> </footer> <button type="button" class="btn btn-quiet btn-square btn-sm dialog-close" commandfor="members-invite" command="close" aria-label="Close"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M4 4L12 12" /><path d="M4 12L12 4" /> </svg> </button> </dialog></section>import PlusIcon from '@master/icons-react/native/16/soft/plus'import MoreHorizontalIcon from '@master/icons-react/native/16/soft/more-horizontal'import XIcon from '@master/icons-react/native/16/soft/x'<section className="container-inline flex flex-col gap-lg max-w(720) mx-auto" aria-labelledby="members-title"> <header className="flex flex-wrap items-end justify-between gap-md"> <div className="flex flex-col gap-2xs min-w(0)"> <h2 className="heading heading-lg" id="members-title">Members</h2> <p className="m(0) fg-text-muted"> Five people work in Atlas Labs. Each takes one seat on Pro. </p> </div> <button type="button" className="btn btn-primary" {...{ commandfor: 'members-invite', command: 'show-modal' }}> <PlusIcon className="icon" />Invite a member </button> </header> <div className="sheet px-md py-xs px-lg@container(--md)"> <ul className="list"> <li className="list-row"> <span className="avatar list-media"> <img className="avatar-image" src="/demo/people/yiching-lin.webp" alt="" width="256" height="256" /> </span> <div className="list-body"> <p className="list-title"> Yi-ching Lin <span className="badge badge-sm vertical-middle">You</span> </p> <p className="list-description">yiching@atlaslabs.dev</p> </div> <span className="list-end fg-text-muted">Owner</span> </li> <li className="list-row"> <span className="avatar list-media"> <img className="avatar-image" src="/demo/people/pohan-chen.webp" alt="" width="256" height="256" /> </span> <div className="list-body"> <p className="list-title">Po-han Chen</p> <p className="list-description">pohan@atlaslabs.dev</p> </div> <div className="list-end flex items-center gap-2xs"> <select className="select select-sm w(104)@container(--md)" aria-label="Role of Po-han Chen" defaultValue="Admin"> <option className="select-option">Admin</option> <option className="select-option">Member</option> <option className="select-option">Viewer</option> </select> <button type="button" className="btn btn-quiet btn-square btn-sm" popoverTarget="members-menu-pohan" aria-label="More for Po-han Chen"> <MoreHorizontalIcon className="icon" /> </button> <div id="members-menu-pohan" popover="" className="menu menu-end"> <button type="button" className="menu-item" popoverTarget="members-menu-pohan" popoverTargetAction="hide"> Make owner </button> <hr className="menu-separator" /> <button type="button" className="menu-item menu-item-danger" popoverTarget="members-menu-pohan" popoverTargetAction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li className="list-row"> <span className="avatar list-media"> <img className="avatar-image" src="/demo/people/misaki-sato.webp" alt="" width="256" height="256" /> </span> <div className="list-body"> <p className="list-title">Misaki Sato</p> <p className="list-description">misaki@atlaslabs.dev</p> </div> <div className="list-end flex items-center gap-2xs"> <select className="select select-sm w(104)@container(--md)" aria-label="Role of Misaki Sato" defaultValue="Admin"> <option className="select-option">Admin</option> <option className="select-option">Member</option> <option className="select-option">Viewer</option> </select> <button type="button" className="btn btn-quiet btn-square btn-sm" popoverTarget="members-menu-misaki" aria-label="More for Misaki Sato"> <MoreHorizontalIcon className="icon" /> </button> <div id="members-menu-misaki" popover="" className="menu menu-end"> <button type="button" className="menu-item" popoverTarget="members-menu-misaki" popoverTargetAction="hide"> Make owner </button> <hr className="menu-separator" /> <button type="button" className="menu-item menu-item-danger" popoverTarget="members-menu-misaki" popoverTargetAction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li className="list-row"> <span className="avatar list-media"> <img className="avatar-image" src="/demo/people/seoyeon-kim.webp" alt="" width="256" height="256" /> </span> <div className="list-body"> <p className="list-title">Seo-yeon Kim</p> <p className="list-description">seoyeon@atlaslabs.dev</p> </div> <div className="list-end flex items-center gap-2xs"> <select className="select select-sm w(104)@container(--md)" aria-label="Role of Seo-yeon Kim" defaultValue="Member"> <option className="select-option">Admin</option> <option className="select-option">Member</option> <option className="select-option">Viewer</option> </select> <button type="button" className="btn btn-quiet btn-square btn-sm" popoverTarget="members-menu-seoyeon" aria-label="More for Seo-yeon Kim"> <MoreHorizontalIcon className="icon" /> </button> <div id="members-menu-seoyeon" popover="" className="menu menu-end"> <button type="button" className="menu-item" popoverTarget="members-menu-seoyeon" popoverTargetAction="hide"> Make owner </button> <hr className="menu-separator" /> <button type="button" className="menu-item menu-item-danger" popoverTarget="members-menu-seoyeon" popoverTargetAction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li className="list-row"> <span className="avatar list-media"> <img className="avatar-image" src="/demo/people/kenta-nakamura.webp" alt="" width="256" height="256" /> </span> <div className="list-body"> <p className="list-title">Kenta Nakamura</p> <p className="list-description">kenta@atlaslabs.dev</p> </div> <div className="list-end flex items-center gap-2xs"> <select className="select select-sm w(104)@container(--md)" aria-label="Role of Kenta Nakamura" defaultValue="Member"> <option className="select-option">Admin</option> <option className="select-option">Member</option> <option className="select-option">Viewer</option> </select> <button type="button" className="btn btn-quiet btn-square btn-sm" popoverTarget="members-menu-kenta" aria-label="More for Kenta Nakamura"> <MoreHorizontalIcon className="icon" /> </button> <div id="members-menu-kenta" popover="" className="menu menu-end"> <button type="button" className="menu-item" popoverTarget="members-menu-kenta" popoverTargetAction="hide"> Make owner </button> <hr className="menu-separator" /> <button type="button" className="menu-item menu-item-danger" popoverTarget="members-menu-kenta" popoverTargetAction="hide"> Remove from Atlas Labs </button> </div> </div> </li> </ul> </div> <section className="flex flex-col gap-sm" aria-labelledby="members-pending-title"> <h3 className="heading heading-sm" id="members-pending-title">Pending invitations</h3> <div className="sheet px-md py-xs px-lg@container(--md)"> <ul className="list"> <li className="list-row"> <div className="list-body"> <p className="list-title">chiahao@atlaslabs.dev</p> <p className="list-description"> Member, expires <time dateTime="2026-11-28">28 Nov</time> </p> </div> <div className="list-end flex items-center gap-2xs"> <button type="button" className="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to chiahao@atlaslabs.dev"> Resend </button> <button type="button" className="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to chiahao@atlaslabs.dev"> Revoke </button> <button type="button" className="btn btn-quiet btn-square btn-sm hidden@container(--md)" popoverTarget="members-menu-chiahao" aria-label="More for the invitation to chiahao@atlaslabs.dev"> <MoreHorizontalIcon className="icon" /> </button> <div id="members-menu-chiahao" popover="" className="menu menu-end"> <button type="button" className="menu-item" popoverTarget="members-menu-chiahao" popoverTargetAction="hide"> Resend invitation </button> <button type="button" className="menu-item menu-item-danger" popoverTarget="members-menu-chiahao" popoverTargetAction="hide"> Revoke invitation </button> </div> </div> <p className="list-meta"> <span>Invited by Po-han Chen on <time dateTime="2026-11-21">21 Nov</time></span> </p> </li> <li className="list-row"> <div className="list-body"> <p className="list-title">yuna@atlaslabs.dev</p> <p className="list-description"> Viewer, expires <time dateTime="2026-11-30">30 Nov</time> </p> </div> <div className="list-end flex items-center gap-2xs"> <button type="button" className="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to yuna@atlaslabs.dev"> Resend </button> <button type="button" className="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to yuna@atlaslabs.dev"> Revoke </button> <button type="button" className="btn btn-quiet btn-square btn-sm hidden@container(--md)" popoverTarget="members-menu-yuna" aria-label="More for the invitation to yuna@atlaslabs.dev"> <MoreHorizontalIcon className="icon" /> </button> <div id="members-menu-yuna" popover="" className="menu menu-end"> <button type="button" className="menu-item" popoverTarget="members-menu-yuna" popoverTargetAction="hide"> Resend invitation </button> <button type="button" className="menu-item menu-item-danger" popoverTarget="members-menu-yuna" popoverTargetAction="hide"> Revoke invitation </button> </div> </div> <p className="list-meta"> <span>Invited by you on <time dateTime="2026-11-23">23 Nov</time></span> </p> </li> </ul> </div> </section> <dialog id="members-invite" className="dialog" aria-labelledby="members-invite-title" aria-describedby="members-invite-description"> <header className="dialog-header"> <h2 className="dialog-title" id="members-invite-title">Invite a member</h2> <p className="dialog-description" id="members-invite-description"> They get an email with a link that works for seven days. </p> </header> <form className="dialog-body flex flex-col gap-md" method="dialog" id="members-invite-form"> <label className="field"> Email <input className="input" type="email" name="email" autoComplete="off" required autoFocus /> </label> <div className="field"> <label htmlFor="members-invite-role">Role</label> <select className="select" id="members-invite-role" name="role" aria-describedby="members-invite-role-hint" defaultValue="Member"> <option className="select-option">Admin</option> <option className="select-option">Member</option> <option className="select-option">Viewer</option> </select> <p className="field-hint" id="members-invite-role-hint"> A member deploys and reads logs. An admin also manages people and environment variables. A viewer only reads. </p> </div> <p className="m(0) fg-text-muted"> All five seats are taken. A sixth adds $20 a month from the day the invitation is accepted. </p> </form> <footer className="dialog-footer"> <button type="button" className="btn" {...{ commandfor: 'members-invite', command: 'close' }}> Cancel </button> <button type="submit" className="btn btn-primary" form="members-invite-form"> Send invitation </button> </footer> <button type="button" className="btn btn-quiet btn-square btn-sm dialog-close" {...{ commandfor: 'members-invite', command: 'close' }} aria-label="Close"> <XIcon className="icon" /> </button> </dialog></section><script> import PlusIcon from '@master/icons-svelte/native/16/soft/plus' import MoreHorizontalIcon from '@master/icons-svelte/native/16/soft/more-horizontal' import XIcon from '@master/icons-svelte/native/16/soft/x'</script><section class="container-inline flex flex-col gap-lg max-w(720) mx-auto" aria-labelledby="members-title"> <header class="flex flex-wrap items-end justify-between gap-md"> <div class="flex flex-col gap-2xs min-w(0)"> <h2 class="heading heading-lg" id="members-title">Members</h2> <p class="m(0) fg-text-muted">Five people work in Atlas Labs. Each takes one seat on Pro.</p> </div> <button type="button" class="btn btn-primary" commandfor="members-invite" command="show-modal"> <PlusIcon class="icon" />Invite a member </button> </header> <div class="sheet px-md py-xs px-lg@container(--md)"> <ul class="list"> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title"> Yi-ching Lin <span class="badge badge-sm vertical-middle">You</span> </p> <p class="list-description">yiching@atlaslabs.dev</p> </div> <span class="list-end fg-text-muted">Owner</span> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Po-han Chen</p> <p class="list-description">pohan@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Po-han Chen"> <option class="select-option" selected>Admin</option> <option class="select-option">Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-pohan" aria-label="More for Po-han Chen"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-pohan" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-pohan" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-pohan" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Misaki Sato</p> <p class="list-description">misaki@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Misaki Sato"> <option class="select-option" selected>Admin</option> <option class="select-option">Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-misaki" aria-label="More for Misaki Sato"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-misaki" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-misaki" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-misaki" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Seo-yeon Kim</p> <p class="list-description">seoyeon@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Seo-yeon Kim"> <option class="select-option">Admin</option> <option class="select-option" selected>Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-seoyeon" aria-label="More for Seo-yeon Kim"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-seoyeon" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-seoyeon" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-seoyeon" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Kenta Nakamura</p> <p class="list-description">kenta@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Kenta Nakamura"> <option class="select-option">Admin</option> <option class="select-option" selected>Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-kenta" aria-label="More for Kenta Nakamura"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-kenta" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-kenta" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-kenta" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> </ul> </div> <section class="flex flex-col gap-sm" aria-labelledby="members-pending-title"> <h3 class="heading heading-sm" id="members-pending-title">Pending invitations</h3> <div class="sheet px-md py-xs px-lg@container(--md)"> <ul class="list"> <li class="list-row"> <div class="list-body"> <p class="list-title">chiahao@atlaslabs.dev</p> <p class="list-description"> Member, expires <time datetime="2026-11-28">28 Nov</time> </p> </div> <div class="list-end flex items-center gap-2xs"> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to chiahao@atlaslabs.dev"> Resend </button> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to chiahao@atlaslabs.dev"> Revoke </button> <button type="button" class="btn btn-quiet btn-square btn-sm hidden@container(--md)" popovertarget="members-menu-chiahao" aria-label="More for the invitation to chiahao@atlaslabs.dev"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-chiahao" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-chiahao" popovertargetaction="hide"> Resend invitation </button> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-chiahao" popovertargetaction="hide"> Revoke invitation </button> </div> </div> <p class="list-meta"> <span>Invited by Po-han Chen on <time datetime="2026-11-21">21 Nov</time></span> </p> </li> <li class="list-row"> <div class="list-body"> <p class="list-title">yuna@atlaslabs.dev</p> <p class="list-description"> Viewer, expires <time datetime="2026-11-30">30 Nov</time> </p> </div> <div class="list-end flex items-center gap-2xs"> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to yuna@atlaslabs.dev"> Resend </button> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to yuna@atlaslabs.dev"> Revoke </button> <button type="button" class="btn btn-quiet btn-square btn-sm hidden@container(--md)" popovertarget="members-menu-yuna" aria-label="More for the invitation to yuna@atlaslabs.dev"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-yuna" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-yuna" popovertargetaction="hide"> Resend invitation </button> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-yuna" popovertargetaction="hide"> Revoke invitation </button> </div> </div> <p class="list-meta"> <span>Invited by you on <time datetime="2026-11-23">23 Nov</time></span> </p> </li> </ul> </div> </section> <dialog id="members-invite" class="dialog" aria-labelledby="members-invite-title" aria-describedby="members-invite-description"> <header class="dialog-header"> <h2 class="dialog-title" id="members-invite-title">Invite a member</h2> <p class="dialog-description" id="members-invite-description"> They get an email with a link that works for seven days. </p> </header> <form class="dialog-body flex flex-col gap-md" method="dialog" id="members-invite-form"> <label class="field"> Email <input class="input" type="email" name="email" autocomplete="off" required autofocus> </label> <div class="field"> <label for="members-invite-role">Role</label> <select class="select" id="members-invite-role" name="role" aria-describedby="members-invite-role-hint"> <option class="select-option">Admin</option> <option class="select-option" selected>Member</option> <option class="select-option">Viewer</option> </select> <p class="field-hint" id="members-invite-role-hint"> A member deploys and reads logs. An admin also manages people and environment variables. A viewer only reads. </p> </div> <p class="m(0) fg-text-muted"> All five seats are taken. A sixth adds $20 a month from the day the invitation is accepted. </p> </form> <footer class="dialog-footer"> <button type="button" class="btn" commandfor="members-invite" command="close">Cancel</button> <button type="submit" class="btn btn-primary" form="members-invite-form"> Send invitation </button> </footer> <button type="button" class="btn btn-quiet btn-square btn-sm dialog-close" commandfor="members-invite" command="close" aria-label="Close"> <XIcon class="icon" /> </button> </dialog></section><script setup>import PlusIcon from '@master/icons-vue/native/16/soft/plus'import MoreHorizontalIcon from '@master/icons-vue/native/16/soft/more-horizontal'import XIcon from '@master/icons-vue/native/16/soft/x'</script><template> <section class="container-inline flex flex-col gap-lg max-w(720) mx-auto" aria-labelledby="members-title"> <header class="flex flex-wrap items-end justify-between gap-md"> <div class="flex flex-col gap-2xs min-w(0)"> <h2 class="heading heading-lg" id="members-title">Members</h2> <p class="m(0) fg-text-muted"> Five people work in Atlas Labs. Each takes one seat on Pro. </p> </div> <button type="button" class="btn btn-primary" commandfor="members-invite" command="show-modal"> <PlusIcon class="icon" />Invite a member </button> </header> <div class="sheet px-md py-xs px-lg@container(--md)"> <ul class="list"> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/yiching-lin.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title"> Yi-ching Lin <span class="badge badge-sm vertical-middle">You</span> </p> <p class="list-description">yiching@atlaslabs.dev</p> </div> <span class="list-end fg-text-muted">Owner</span> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Po-han Chen</p> <p class="list-description">pohan@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Po-han Chen"> <option class="select-option" selected>Admin</option> <option class="select-option">Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-pohan" aria-label="More for Po-han Chen"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-pohan" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-pohan" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-pohan" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Misaki Sato</p> <p class="list-description">misaki@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Misaki Sato"> <option class="select-option" selected>Admin</option> <option class="select-option">Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-misaki" aria-label="More for Misaki Sato"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-misaki" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-misaki" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-misaki" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Seo-yeon Kim</p> <p class="list-description">seoyeon@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Seo-yeon Kim"> <option class="select-option">Admin</option> <option class="select-option" selected>Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-seoyeon" aria-label="More for Seo-yeon Kim"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-seoyeon" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-seoyeon" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-seoyeon" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> <li class="list-row"> <span class="avatar list-media"> <img class="avatar-image" src="/demo/people/kenta-nakamura.webp" alt width="256" height="256"> </span> <div class="list-body"> <p class="list-title">Kenta Nakamura</p> <p class="list-description">kenta@atlaslabs.dev</p> </div> <div class="list-end flex items-center gap-2xs"> <select class="select select-sm w(104)@container(--md)" aria-label="Role of Kenta Nakamura"> <option class="select-option">Admin</option> <option class="select-option" selected>Member</option> <option class="select-option">Viewer</option> </select> <button type="button" class="btn btn-quiet btn-square btn-sm" popovertarget="members-menu-kenta" aria-label="More for Kenta Nakamura"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-kenta" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-kenta" popovertargetaction="hide"> Make owner </button> <hr class="menu-separator"> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-kenta" popovertargetaction="hide"> Remove from Atlas Labs </button> </div> </div> </li> </ul> </div> <section class="flex flex-col gap-sm" aria-labelledby="members-pending-title"> <h3 class="heading heading-sm" id="members-pending-title">Pending invitations</h3> <div class="sheet px-md py-xs px-lg@container(--md)"> <ul class="list"> <li class="list-row"> <div class="list-body"> <p class="list-title">chiahao@atlaslabs.dev</p> <p class="list-description"> Member, expires <time datetime="2026-11-28">28 Nov</time> </p> </div> <div class="list-end flex items-center gap-2xs"> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to chiahao@atlaslabs.dev"> Resend </button> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to chiahao@atlaslabs.dev"> Revoke </button> <button type="button" class="btn btn-quiet btn-square btn-sm hidden@container(--md)" popovertarget="members-menu-chiahao" aria-label="More for the invitation to chiahao@atlaslabs.dev"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-chiahao" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-chiahao" popovertargetaction="hide"> Resend invitation </button> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-chiahao" popovertargetaction="hide"> Revoke invitation </button> </div> </div> <p class="list-meta"> <span>Invited by Po-han Chen on <time datetime="2026-11-21">21 Nov</time></span> </p> </li> <li class="list-row"> <div class="list-body"> <p class="list-title">yuna@atlaslabs.dev</p> <p class="list-description"> Viewer, expires <time datetime="2026-11-30">30 Nov</time> </p> </div> <div class="list-end flex items-center gap-2xs"> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Resend the invitation to yuna@atlaslabs.dev"> Resend </button> <button type="button" class="btn btn-quiet btn-sm hidden inline-flex@container(--md)" aria-label="Revoke the invitation to yuna@atlaslabs.dev"> Revoke </button> <button type="button" class="btn btn-quiet btn-square btn-sm hidden@container(--md)" popovertarget="members-menu-yuna" aria-label="More for the invitation to yuna@atlaslabs.dev"> <MoreHorizontalIcon class="icon" /> </button> <div id="members-menu-yuna" popover class="menu menu-end"> <button type="button" class="menu-item" popovertarget="members-menu-yuna" popovertargetaction="hide"> Resend invitation </button> <button type="button" class="menu-item menu-item-danger" popovertarget="members-menu-yuna" popovertargetaction="hide"> Revoke invitation </button> </div> </div> <p class="list-meta"> <span>Invited by you on <time datetime="2026-11-23">23 Nov</time></span> </p> </li> </ul> </div> </section> <dialog id="members-invite" class="dialog" aria-labelledby="members-invite-title" aria-describedby="members-invite-description"> <header class="dialog-header"> <h2 class="dialog-title" id="members-invite-title">Invite a member</h2> <p class="dialog-description" id="members-invite-description"> They get an email with a link that works for seven days. </p> </header> <form class="dialog-body flex flex-col gap-md" method="dialog" id="members-invite-form"> <label class="field"> Email <input class="input" type="email" name="email" autocomplete="off" required autofocus> </label> <div class="field"> <label for="members-invite-role">Role</label> <select class="select" id="members-invite-role" name="role" aria-describedby="members-invite-role-hint"> <option class="select-option">Admin</option> <option class="select-option" selected>Member</option> <option class="select-option">Viewer</option> </select> <p class="field-hint" id="members-invite-role-hint"> A member deploys and reads logs. An admin also manages people and environment variables. A viewer only reads. </p> </div> <p class="m(0) fg-text-muted"> All five seats are taken. A sixth adds $20 a month from the day the invitation is accepted. </p> </form> <footer class="dialog-footer"> <button type="button" class="btn" commandfor="members-invite" command="close"> Cancel </button> <button type="submit" class="btn btn-primary" form="members-invite-form"> Send invitation </button> </footer> <button type="button" class="btn btn-quiet btn-square btn-sm dialog-close" commandfor="members-invite" command="close" aria-label="Close"> <XIcon class="icon" /> </button> </dialog> </section></template>Blocks are markup to copy. They take the page's own text color and size; the previews set fg-text-body text-sm on the body. Each block is a size container, so it reflows by its own width: in a wide page, a sidebar's worth of room or a dialog.
#What is in it
- The count, and what it costs. The line under the title says how many people there are and that each takes a seat. Whoever adds a person here is spending money, and should know it before the dialog opens.
- One action for the page. "Invite a member" is the one primary button, at the end of the header. It opens the dialog with
commandforandcommand="show-modal", so no script is involved in opening or closing it. - People are rows of a
list. An avatar is thelist-media, the name and the address are thelist-body, and the role and the row's menu are thelist-end. The media and the end center on the two lines of words. - A role is a native
<select>.select-smkeeps it the height of the small button beside it. A row has no label to spare, so each select is named for its person: "Role of Po-han Chen". - The owner's row has no control. The person signed in cannot demote or remove themselves, so their role is words in muted ink, and a badge in the title says "You". Ownership moves from another row's menu, "Make owner".
- What cannot be undone is behind the menu, in the danger ink, and names where the person is removed from. It does not sit in the row as a button: a row of five red buttons makes the page about leaving.
- Invitations are a second list. An invitation has an address and no person yet, so its row has no avatar. Its description says the role, who sent it and when it stops working, each date in a
<time>. - The dialog says what the choice costs. The hint under the role says what each role may do in a sentence, and the last line says that the seats are full and what one more adds. The figures agree with the billing summary: five seats, $20 each.
The block shows the state a server holds. Changing a role, resending and revoking are requests your application sends; after each, write the result to a role="status" region so it is announced, and move focus to the next row when a row leaves.
#What each role can do
Before choosing a role, a reader wants to compare them. That is a table: the roles are the columns, what can be done the rows, and each cell says yes or no. It goes under the members, or on a page of its own that the dialog's hint links to.
What each role can do
<section class="container-inline flex flex-col gap-md max-w(720) mx-auto" aria-labelledby="members-roles-title"> <header class="flex flex-col gap-2xs"> <h2 class="heading heading-lg" id="members-roles-title">Roles</h2> <p class="m(0) fg-text-muted"> A workspace has one owner. Every other person is an admin, a member or a viewer. </p> </header> <div class="sheet overflow-hidden"> <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-labelledby="members-roles-title"> <table class="table"> <thead> <tr class="table-row"> <th class="table-heading" scope="col"><span class="sr-only">What can be done</span></th> <th class="table-heading" scope="col">Owner</th> <th class="table-heading" scope="col">Admin</th> <th class="table-heading" scope="col">Member</th> <th class="table-heading" scope="col">Viewer</th> </tr> </thead> <tbody> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Read deployments and logs </th> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row">Deploy a preview</th> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Promote to production </th> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Edit environment variables </th> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Invite and remove people </th> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Change the plan and pay </th> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Delete the workspace </th> <td class="table-cell"> <svg class="icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <path d="M3 8L6.3532 11.3532A0.2 0.2 0 0 0 6.6412 11.3479L13 4.5" /> </svg><span class="sr-only">Yes</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> </tbody> </table> </div> </div></section>import CheckIcon from '@master/icons-react/native/16/soft/check'<section className="container-inline flex flex-col gap-md max-w(720) mx-auto" aria-labelledby="members-roles-title"> <header className="flex flex-col gap-2xs"> <h2 className="heading heading-lg" id="members-roles-title">Roles</h2> <p className="m(0) fg-text-muted"> A workspace has one owner. Every other person is an admin, a member or a viewer. </p> </header> <div className="sheet overflow-hidden"> <div className="scroll-area scroll-area-inline" tabIndex={0} role="region" aria-labelledby="members-roles-title"> <table className="table"> <thead> <tr className="table-row"> <th className="table-heading" scope="col"> <span className="sr-only">What can be done</span> </th> <th className="table-heading" scope="col">Owner</th> <th className="table-heading" scope="col">Admin</th> <th className="table-heading" scope="col">Member</th> <th className="table-heading" scope="col">Viewer</th> </tr> </thead> <tbody> <tr className="table-row"> <th className="table-cell table-primary whitespace-nowrap" scope="row"> Read deployments and logs </th> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> </tr> <tr className="table-row"> <th className="table-cell table-primary whitespace-nowrap" scope="row"> Deploy a preview </th> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> </tr> <tr className="table-row"> <th className="table-cell table-primary whitespace-nowrap" scope="row"> Promote to production </th> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> </tr> <tr className="table-row"> <th className="table-cell table-primary whitespace-nowrap" scope="row"> Edit environment variables </th> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> </tr> <tr className="table-row"> <th className="table-cell table-primary whitespace-nowrap" scope="row"> Invite and remove people </th> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> </tr> <tr className="table-row"> <th className="table-cell table-primary whitespace-nowrap" scope="row"> Change the plan and pay </th> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> </tr> <tr className="table-row"> <th className="table-cell table-primary whitespace-nowrap" scope="row"> Delete the workspace </th> <td className="table-cell"> <CheckIcon className="icon" /><span className="sr-only">Yes</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> <td className="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span className="sr-only">No</span> </td> </tr> </tbody> </table> </div> </div></section><script> import CheckIcon from '@master/icons-svelte/native/16/soft/check'</script><section class="container-inline flex flex-col gap-md max-w(720) mx-auto" aria-labelledby="members-roles-title"> <header class="flex flex-col gap-2xs"> <h2 class="heading heading-lg" id="members-roles-title">Roles</h2> <p class="m(0) fg-text-muted"> A workspace has one owner. Every other person is an admin, a member or a viewer. </p> </header> <div class="sheet overflow-hidden"> <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-labelledby="members-roles-title"> <table class="table"> <thead> <tr class="table-row"> <th class="table-heading" scope="col"><span class="sr-only">What can be done</span></th> <th class="table-heading" scope="col">Owner</th> <th class="table-heading" scope="col">Admin</th> <th class="table-heading" scope="col">Member</th> <th class="table-heading" scope="col">Viewer</th> </tr> </thead> <tbody> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Read deployments and logs </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row">Deploy a preview</th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Promote to production </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Edit environment variables </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Invite and remove people </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Change the plan and pay </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Delete the workspace </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> </tbody> </table> </div> </div></section><script setup>import CheckIcon from '@master/icons-vue/native/16/soft/check'</script><template> <section class="container-inline flex flex-col gap-md max-w(720) mx-auto" aria-labelledby="members-roles-title"> <header class="flex flex-col gap-2xs"> <h2 class="heading heading-lg" id="members-roles-title">Roles</h2> <p class="m(0) fg-text-muted"> A workspace has one owner. Every other person is an admin, a member or a viewer. </p> </header> <div class="sheet overflow-hidden"> <div class="scroll-area scroll-area-inline" tabindex="0" role="region" aria-labelledby="members-roles-title"> <table class="table"> <thead> <tr class="table-row"> <th class="table-heading" scope="col"> <span class="sr-only">What can be done</span> </th> <th class="table-heading" scope="col">Owner</th> <th class="table-heading" scope="col">Admin</th> <th class="table-heading" scope="col">Member</th> <th class="table-heading" scope="col">Viewer</th> </tr> </thead> <tbody> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Read deployments and logs </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Deploy a preview </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Promote to production </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Edit environment variables </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Invite and remove people </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Change the plan and pay </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> <tr class="table-row"> <th class="table-cell table-primary whitespace-nowrap" scope="row"> Delete the workspace </th> <td class="table-cell"><CheckIcon class="icon" /><span class="sr-only">Yes</span></td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> <td class="table-cell fg-text-muted"> <span aria-hidden="true">–</span><span class="sr-only">No</span> </td> </tr> </tbody> </table> </div> </div> </section></template>- A check and a dash, each with a word. The check is an icon hidden from assistive technology and the dash a character; beside each is a
sr-only"Yes" or "No", so a cell is read as an answer and not as "image" or nothing. - The rows run from what everyone may do to what one person may. Read down a column and a role ends where its checks end; read along a row and the dashes begin where the permission stops.
- It scrolls sideways, it does not restack. A matrix read as cards is no longer a comparison. In a narrow room the
scroll-areascrolls along the inline axis and fades the edge where columns continue; it hastabindex="0", a role and a name, since nothing inside it takes focus.
#Accessibility
- The block is a
<section>named by its<h2>. The pending invitations are a section of their own under an<h3>, so a reader moving by headings finds both lists. - A control in a row is named with its row: "Role of Seo-yeon Kim", "More for Seo-yeon Kim", "Revoke the invitation to [email protected]". Five controls all called "Role" cannot be told apart in a list of form fields.
- The portraits repeat the names beside them, so their
altis empty. - The dialog is named by its title and described by the sentence under it, and focus goes to the email field when it opens. When it closes, the browser returns focus to the button that opened it.
- The dialog's submit button stands in the footer, outside the form, and is tied to it with
form. Enter in the email field submits, and the browser's own validation holds the dialog open on an address it cannot send to.
#Related
- ListRows of things with media, words and something at the end.
- AvatarA person or a team as a photo or initials, alone or stacked.
- SelectA native select whose option list is drawn in the same material.
- MenuA list of actions in a popover, placed against its button.
- DialogA native modal on an overlay sheet, opened and closed without script.
- TableRows of data on hairlines, with sortable headings and aligned figures.
- Scroll areaA scrolling region whose edges fade where content continues.
- BadgeA small chip for a status, a category or a count.
- Billing summaryThe plan, its seats and usage, the renewal date and the latest invoices.
- Table viewA table with its search, filters, selection and pages.
- TeamThe people behind the product, with a name, what they do and a few words each.
- Sign inSign in and sign up cards with providers, fields and a way back.