Notification Preferences

Every notification switch for the signed-in user, bell and email.

Every notification switch for the signed-in user, bell and email.

Block metadata

FieldValue
Namexp/notification-preferences
TitleNotification Preferences
Categorytext
API version3
Keywordsnotifications, preferences, email, xpac
Packagenotifications
Metadata filedist/packages/notifications/blocks/notification-preferences/block.json

Supports

FeatureValue
color{"text":true,"background":true,"__experimentalDefaultControls":{"text":true,"background":true}}
htmlDisabled
spacing{"margin":true,"padding":true,"blockGap":true}
typography{"fontSize":true,"__experimentalDefaultControls":{"fontSize":true}}

Attributes

NameTypeDefaultSource/Enum
allEmailsLabelstring""—
emailLabelstring""—
excludearray[]items {"type":"string"}
includearray[]items {"type":"string"}
onsiteLabelstring""—
showAllEmailsbooleantrue—
showSectionsbooleantrue—

On this page