Skip to main content
  1. Docs
  2. Patterns
  3. 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.

ComponentHere
CardThe one surface, centred
HeadingThe page's h1: where you're signing in
Text fieldThe email, with webauthn autofill
ButtonThe passkey solid; the password soft
SeparatorThe or, decorative
LinkThe way out

03 — The code

Its skeleton.

sign-in.tsx
<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.
Next — PatternsDashboard header