Login component¶
Defining a simple login component:
- a username dmc TextInput
- a dmc PasswordInput
- a dmc Button.
All attributes are optional:
- the
username_placeholder
(Username
by default) - the
password_placeholder
(Password
by default) - the
button_label
(Login
by default) - the
button_color
(white
by default) password_placeholder: str = 'Password', button_label: str = 'Login', button_color: str = 'white'
Rendering:
An example of such a component in a dash application