Privacy Dashboard

display

User-facing privacy dashboard for managing data, consents, and downloads.

Preview

No preview available

Check the code examples below.

Installation

npm install @launchapp/design-system
Import
import { PrivacyDashboard } from "@launchapp/design-system";

Examples

Privacy control center

<PrivacyDashboard  consents={[    { id: "1", type: "analytics", granted: true, timestamp: "2024-01-01T10:00:00Z", version: "1.0" },  ]}  onDownloadData={() => console.log("download")}  onDeleteAccount={() => console.log("delete account")}/>

Props

PropTypeDefaultDescription
consents*
ConsentEntry[]Current consent records.
onDownloadData
() => voidCalled when user requests data export.
onDeleteAccount
() => voidCalled when user requests account deletion.