The split sign in page with a customer quote over the photo: a soft scrim keeps the quote and author readable in both themes.
Dependencies
Interaction Type
Every field has a visible label and the right autocomplete, so password managers fill it. The password toggle is a 44px button with aria-pressed and a label for each state; its eye icons crossfade instead of cutting. Errors set aria-invalid and are announced as an alert. All controls are 44px tall with the accent focus ring.
Props
Options you can pass to customize this component.
quoteQuote set over the photo.
authorWho said it. Without avatarSrc the avatar shows initials.
imageSrcPhoto on the end side from the large breakpoint. Without it the panel is a quiet surface.
imageAltAlt text of the photo. Defaults to empty, since the photo is decorative.
titlePage heading. Defaults to "Welcome back".
descriptionLine under the heading.
onSubmitCalled with the email and password when the form is submitted.
onProviderCalled with the provider id when a sign in button is pressed.
providersSign in providers. Defaults to Google and Apple. Pass [] to hide them.
errorError under the fields. Sets aria-invalid on both inputs, links them with aria-describedby and is announced as an alert.
forgotHrefWhere the forgot password link points.
signupHrefWhere the create account link points.
emailLabel, passwordLabel, submitLabelVisible labels, all overridable for localization.
showPasswordLabel, hidePasswordLabelAccessible names of the password toggle in each state.
Installation
How to use
<LoginQuote
imageSrc="/images/login.jpg"
quote="Setup took one afternoon."
author={{ name: 'Ada Park', role: 'CTO' }}
/>Source Code
Click the code icon in the top-right corner to view the source code.
License & Usage
// No code loaded.Sign in to keep building with Nexvyn UI.
New to Nexvyn UI? Create an account

“We replaced a whole folder of one-off buttons in an afternoon. The team still talks about it.”