Login Component
UI Implementing Login, Sign-Up, and Password Recovery
Overview
The login component renders a UI for user login and sign-up. The UI options for the component are determined by settings in the console dashboard. You can set the default UI options in the console under the Branding tab, and customize them by passing LoginComponentConfigs when you open
the component.
![Login Component](https://mintlify.s3-us-west-1.amazonaws.com/hopae-35/images/login-component.jpg)
API
Type
The type of the login component is login
.
LoginComponentConfigs
These are the properties you can pass when using furo.open('login')
.
Options for the login UI. The appearence
attribute overrides the default settings in the console.
Sets the color theme. You can enter light
or dark
. If left empty, the theme set in the console will be applied.
Determines whether to use a popup window for OAuth login. You can enter true
or false
. The default is true
. If set to false
, OAuth login will operate
using redirect method.
Example
furo.open('login', {
appearence: {
theme: 'dark',
},
oauthPopup: false,
});
Was this page helpful?