Invite System (Frontend Demo)

This demo stores invites in localStorage and generates shareable links like ?invite=TOKEN.
In a real app, token validation + acceptance should happen on a server.

Create an invite

Latest invite link
Tip: open the link in a new tab to test the “Accept invite” flow.

Accept invite

Open an invite link (with ?invite=TOKEN) to accept.
Invite details
—
Demo behavior: accepting marks the invite as Accepted in the list.

Invites

Statuses update automatically based on expiry.
Email Role Status Expires Token Actions