Skip to main content

Auth and Profile

The Auth widget enables customers to sign in to their account or register for an account. After customers are authenticated, the Profile widget displays instead. The Profile widget displays a profile menu for customers to view their profile, view the buy it again experience, or log out.

The following image shows an example of the Auth widget:

Shows the Sign in/Register button.

The following image shows an example of the Profile widget:

Shows the profile menu with the profile, buy again, and logout options.

Auth widget configuration

The following table shows the default configuration for the Auth widget. To request a change or update to this configuration, contact your Instacart representative.

PropertyDescriptionDefault Value
backgroundColorThe background color of the button.systemGrayscale00
borderColorThe border color of the button.brandPrimaryRegular
borderRadiusThe border radius of the button.2px
borderStyleThe border style of the button.1px
borderWidthThe border width of the button.16px
fontSizeThe text font size of the button.14px
fontWeightThe text font weight of the button.700
heightThe height of the button.48px
lineHeightThe border radius of the button.20px
paddingThe padding in the button.10px
widthThe width of the button.172px

Profile widget configuration

The following table shows the default configuration for the Profile widget. To request a change or update to this configuration, contact your Instacart representative.

PropertyDescriptionDefault Value
container.backgroundColorThe background color of the user avatar icon.systemGrayscale00
avatar.fillThe color of the user avatar icon.brandPrimaryDark
sheetItemIcon.fillThe color of the icons in the menu. This property replaces profileIconColor.brandPrimaryDark
sheetItemLabel.fontsizeThe font size of the text in the Profile widget menu. This property replaces profileItemFontSize.14px
showProfileIconWhether icons display for each item in the menu should be shown.true