Consent List
Life · ConsentList
What each connected source lets the assistant read or do: one card per source with its purpose, last use and a switch per scope, plus "Revoke access".
- Scopes marked
requiredare shown but cannot be switched off. - Switches are named "Bank account: Transactions" for screen readers.
Props
ConsentList
| Prop | Type | Notes |
|---|---|---|
surface? | Surface | `"glass"`: translucent glass over a backdrop (`Ambient`, a photo, a map); `"solid"` opts out inside a glass `UIProvider`. |
connectors | ConsentConnector[] | Required |
onScopeChange? | (connectorId: string, scopeId: string, granted: boolean) => void | |
onRevoke? | (connectorId: string) => void | |
label? | string | Accessible name (default "Data access"). |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |