JavaScript Library Options

Last updated 11/01/2023

For many of our JavaScript Library methods, you can specify options that affect the display of UI elements, or backend workflows. Below if you will find a list of all available options, how they work, and examples on how to use them. You can also find this information on our Github.

button_theme

Choose whether the IDP icons are displayed as long tiles, or icons.

Available values: round-icons, square-icons, tiles

Default value, if not specified: tiles

show_login_focus

When launching the ‘Continue with’ widget, this option lets you enable “blur screen” where the main content of the page is greyed out, and the ‘Continue with’ widget is in focus. This brings the user’s attention to the ‘Continue with’ widget, and lets them know they should authenticate.

Available Values: true, false

Default value, if not specified: false


Don’t use Bread & Butter? Want to learn more about how Bread & Butter solves the four biggest problems facing marketers today? Book a demo and see how Bread & Butter is helping marketers make the most of their first-party data