PrivacyConsent
The two consent surfaces, ConsentGate before the first conversation and PrivacyConsent in settings with the confirmation that guards withdrawal.
PrivacyConsent
Two consent surfaces ship from this file. ConsentGate runs before the first conversation, and PrivacyConsent holds the standing consent in settings. Granting calls back at once. Withdrawing raises a confirmation, and the callback fires only after the member goes through with it.
Interaction Phases
State space: none. This item renders no phase treatment of its own.
Politeness is not announced — this item carries no live region.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-foreground-primary--augds-foreground-tertiary--augds-interaction-hover-light--augds-radius-primitive-12--augds-surface-page--augds-type-label-md-medium-line-height--augds-type-label-sm-regular-line-height
Source
src/components/ui/privacy-consent/privacy-consent.tsx