- Docs
- Patterns
- Sign-in
Sign-in
A passkey first, a password second, on one card. Qeet ID's hosted sign-in.
- Built from
- 6 componentsCard, Heading, Text field
01 — The pattern
The page, live.
02 — Built from
The components, and their jobs here.
03 — The code
Its skeleton.
<main>
<Stack gap="xl" align="center">
<QeetLogo height={32} />
<Card>
<Stack gap="lg">
<Heading level={1} size="heading-sm">Sign in to Acme Pvt Ltd</Heading>
<TextField label="Work email" type="email" autoComplete="username webauthn" />
<Button icon={FingerprintPatternIcon} fullWidth>Continue with a passkey</Button>
<Button variant="soft" icon={KeyRoundIcon} fullWidth>Use a password</Button>
</Stack>
</Card>
<Text size="sm" tone="subtle">Can't sign in? <Link href="/help">Get help</Link></Text>
</Stack>
</main>04 — Rules
What makes it work.
- One solid button: the passkey.
- autoComplete="username webauthn", so the browser offers the passkey in the field.
- Say whose sign-in it is: the tenant's name in the heading.
- No password field until it's asked for.