Packages

@clerk/elements

0.24.13 · 27 Feb 2026MIT23.1k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: This package is no longer supported. Please see the Core 3 release for more information: https://clerk.com/changelog/2026-03-03-core-3What to use instead
Your version

0.7.0

12 Jun 2024Where it was published

0.24.23 is the newest release of 0.7.x.

npm marks 0.7.0 as deprecated: This package is no longer supported. Please see the Core 3 release for more information: clerk.com/changelog/2026-03-03-core-3

In short

1 new

Release note

Minor Changes

  • Support passkeys in <SignIn> flows.

    APIs introduced:

    • <SignIn.Passkey />

    • <SignIn.SupportedStrategy name='passkey'>

    • <SignIn.Strategy name='passkey'>

    • Detects the usage of webauthn to trigger passkey autofill <Clerk.Input autoComplete="webauthn" />

    Usage examples:

    • <SignIn.Action passkey />

      <SignIn.Step name='start'>
        <SignIn.Passkey>
          <Clerk.Loading>{isLoading => (isLoading ? <Spinner /> : 'Use passkey instead')}.</Clerk.Loading>
        </SignIn.Passkey>
      </SignIn.Step>
    • <SignIn.SupportedStrategy name='passkey'>

      <SignIn.SupportedStrategy
        asChild
        name='passkey'
      >
        <Button>use passkey</Button>
      </SignIn.SupportedStrategy>
    • <SignIn.Strategy name='passkey'>

      <SignIn.Strategy name='passkey'>
        <p className='text-sm'>
          Welcome back <SignIn.Salutation />!
        </p>
      
        <CustomSubmit>Continue with Passkey</CustomSubmit>
      </SignIn.Strategy>
    • Passkey Autofill

      <SignIn.Step name='start'>
        <Clerk.Field name='identifier'>
          <Clerk.Label className='sr-only'>Email</Clerk.Label>
          <Clerk.Input
            autoComplete='webauthn'
            placeholder='Enter your email address'
          />
          <Clerk.FieldError />
        </Clerk.Field>
      </SignIn.Step>

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.