ReportModal

A report modal lets a signed-in user report a profile, short or game.

Default

A signed-in user gets a form with a reason of up to 2000 characters, which is sent to the support backend. The modal then says it was received, or that it failed. Without a signed-in user the modal asks to sign in first. This page shows that state unless you are signed in.

svelte
svelte
<Button onclick={() => (isOpen = true)}>Report this profile</Button>

<ReportModal bind:isOpen reportType="profile" reportedId="user-123" />