@clerk/elements
0.24.13 · 27 Feb 2026MIT23.1k / weekRepositoryHomepagenpmAtom feed
274 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.19.x
0.19.3 – 0.19.42 releases that only update dependencies@clerk/shared 2.15.0@clerk/clerk-react 5.16.0@clerk/types 4.34.0Show each
- 0.19.418 Nov 2024@clerk/shared 2.15.0@clerk/clerk-react 5.16.0
- 0.19.314 Nov 2024@clerk/types 4.34.0
0.19.2
14 Nov 2024Display additional errors from enterprise SSO
Export
<SignIn.Captcha />from root sign-in exports.
Patch Changes
Display additional errors from enterprise SSO
Export
<SignIn.Captcha />from root sign-in exports.
0.19.1
11 Nov 2024Only updates a dependency:@clerk/types 4.32.0
0.19.0
8 Nov 2024Introduce support for
<SignIn.Captcha />and<SignIn.Step name='sso-callback'>. This allows rendering of a CAPTCHA widget when a sign in attempt is transferred to a sign up attempt.The Legal consent feature is now stable.
Removed the
__experimental_preffix.Fixes issues in
ClerkRouterthat were causing inaccurate pathnames within Elements flows. Also fixes a dependency issue where@clerk/elementswas pulling in the wrong version of@clerk/shared.
Minor Changes
Introduce support for
<SignIn.Captcha />and<SignIn.Step name='sso-callback'>. This allows rendering of a CAPTCHA widget when a sign in attempt is transferred to a sign up attempt.The Legal consent feature is now stable.
Removed the
__experimental_preffix.
Patch Changes
Fixes issues in
ClerkRouterthat were causing inaccurate pathnames within Elements flows. Also fixes a dependency issue where@clerk/elementswas pulling in the wrong version of@clerk/shared.
- 0.18.x
0.18.5
6 Nov 2024Only updates a dependency:@clerk/shared 2.11.5
0.18.4
4 Nov 2024Add Elements
<Link />component.import * as Clerk from '@clerk/elements/common'; import NextLink from 'next/link'; function SignInPage() { return ( <> <Clerk.Link navigate='sign-up'>Sign up</Clerk.Link> <Clerk.Link navigate='sign-up'>{url => <NextLink href={url}>Sign up</NextLink>}</Clerk.Link> </> ); }
Patch Changes
Add Elements
<Link />component.import * as Clerk from '@clerk/elements/common'; import NextLink from 'next/link'; function SignInPage() { return ( <> <Clerk.Link navigate='sign-up'>Sign up</Clerk.Link> <Clerk.Link navigate='sign-up'>{url => <NextLink href={url}>Sign up</NextLink>}</Clerk.Link> </> ); }
0.18.3
3 Nov 2024Use host router instead of directly calling Next's
useRouterhook
Patch Changes
Use host router instead of directly calling Next's
useRouterhook
0.18.0
31 Oct 2024Added support for
__experimental_legalAcceptedfieldIntroduce
redirectUrlproperty onsetActiveas a replacement forbeforeEmit.
Minor Changes
Added support for
__experimental_legalAcceptedfield
Patch Changes
Introduce
redirectUrlproperty onsetActiveas a replacement forbeforeEmit.Deprecates
beforeEmitproperty onsetActive.
- 0.17.x
0.17.1
23 Oct 2024Only updates dependencies:@clerk/types 4.28.0@clerk/shared 2.10.1
0.17.0
23 Oct 2024Add experimental support for new UI components
Remove @clerk/clerk-react as a dev depedency. Move @clerk/shared to depedencies (previously devDepedencies).
Minor Changes
Add experimental support for new UI components
Patch Changes
Remove @clerk/clerk-react as a dev depedency. Move @clerk/shared to depedencies (previously devDepedencies).
- 0.16.x
0.16.2
17 Oct 2024Only updates a dependency:@clerk/types 4.26.0
0.16.1
14 Oct 2024Fixes a bug during a ticket-based sign-up where the form could not be submitted if additional fields were needed.
Patch Changes
Fixes a bug during a ticket-based sign-up where the form could not be submitted if additional fields were needed.
0.16.0
11 Oct 2024Adds
restrictedStep for restricted sign-up mode
- 0.15.x
0.15.10
9 Oct 2024Remove "example mode" guard form "AUTHENICTATE.PASSKEY" event in verification flow
0.15.6 – 0.15.93 releases that only update dependencies@clerk/types 4.25.0Show each
- 0.15.92 Oct 2024@clerk/types 4.25.0
- 0.15.727 Sep 2024@clerk/types 4.23.0
- 0.15.625 Sep 2024@clerk/types 4.22.0
0.15.5
24 Sep 2024Internal change to move
iconImageUrlutil tosharedpackage.
Patch Changes
Internal change to move
iconImageUrlutil tosharedpackage.
0.15.0 – 0.15.45 releases with no change for you2 dependency updates, 3 without a note@clerk/types 4.21.0Show each
- 0.15.417 Sep 2024no note
- 0.15.316 Sep 2024@clerk/types 4.21.0
- 0.15.211 Sep 2024no note
- 0.15.111 Sep 2024@clerk/types 4.20.1
- 0.15.09 Sep 2024no note
- 0.14.x
0.14.6
3 Sep 2024Only updates a dependency:@clerk/types 4.19.0
0.14.5
3 Sep 2024Add support for sign in and sign up with Coinbase
Patch Changes
Add support for sign in and sign up with Coinbase
0.14.4
29 Aug 2024Tidy up and improve README
Moves the common
ClerkRouterinterface into@clerk/shared/router. Elements has been refactored internally to import the router from the shared package.
Patch Changes
Tidy up and improve README
Moves the common
ClerkRouterinterface into@clerk/shared/router. Elements has been refactored internally to import the router from the shared package.
0.14.2 – 0.14.32 releases that only update dependencies@clerk/types 4.16.0Show each
- 0.14.328 Aug 2024@clerk/types 4.16.0
- 0.14.227 Aug 2024@clerk/types 4.15.1
0.14.1
27 Aug 2024Fix
SignIn.SafeIdentifierpotentially outputting an incorrect identifier when using similar multi-session sign in strategies.
Patch Changes
Fix
SignIn.SafeIdentifierpotentially outputting an incorrect identifier when using similar multi-session sign in strategies.
0.14.0
20 Aug 2024Introduce multi-session choose account step and associated actions/components.
Example:
<SignIn.Step name="choose-session"> <SignIn.SessionList> <SignIn.SessionListItem> {({ session }) => ( <> {session.identifier} |{" "} <SignIn.Action setActiveSession>Switch...</SignIn.Action> </> )} </SignIn.SessionListItem> </SignIn.SessionList> </SignIn.Step>Refactor form hooks and utils into separate files
elements: Add support for sign in with email_link via redirect_url
Minor Changes
Introduce multi-session choose account step and associated actions/components.
Example:
<SignIn.Step name="choose-session"> <SignIn.SessionList> <SignIn.SessionListItem> {({ session }) => ( <> {session.identifier} |{" "} <SignIn.Action setActiveSession>Switch...</SignIn.Action> </> )} </SignIn.SessionListItem> </SignIn.SessionList> </SignIn.Step>
Patch Changes
Refactor form hooks and utils into separate files
elements: Add support for sign in with email_link via redirect_url
Preserve absolute URLs passed via
redirect_urlExtract common Form components from single file
Add support for submit and passkey loading scopes
- 0.13.x
0.13.0
13 Aug 2024Handle ticket-based invitation sign-up workflows
Refactor form hooks and utils into separate files
In certain situations the Frontend API response contains
supported_first_factorswith anullvalue while the current code always assumed to receive an array.SignInResource['supportedFirstFactors']has been updated to account for that and any code accessing this value has been made more resilient againstnullvalues.
Minor Changes
Handle ticket-based invitation sign-up workflows
Patch Changes
Refactor form hooks and utils into separate files
In certain situations the Frontend API response contains
supported_first_factorswith anullvalue while the current code always assumed to receive an array.SignInResource['supportedFirstFactors']has been updated to account for that and any code accessing this value has been made more resilient againstnullvalues.
- 0.12.x
0.12.4
8 Aug 2024Add support for redirect_url URL parameter
Patch Changes
Add support for redirect_url URL parameter
0.12.3
6 Aug 2024Only updates a dependency:@clerk/types 4.12.1
0.12.2
5 Aug 2024Return password validation errors with additional supporting information from instance configuration
Fixes a bug that briefly showed the underlying primitive input for OTPs when auto-filled in MacOS
Patch Changes
Return password validation errors with additional supporting information from instance configuration
Fixes a bug that briefly showed the underlying primitive input for OTPs when auto-filled in MacOS
0.12.1
2 Aug 2024Only updates a dependency:@clerk/types 4.11.0
0.12.0
2 Aug 2024Add Metamask (Web3) support for sign in and sign up
- 0.11.x
0.11.0
1 Aug 2024Add full SAML support
Update signin
isLoggedInAndSingleSessionguard to navigate usingbuildAfterSignInUrlwhen true.Fixes issue where the incorrect sign in first factor strategy was being returned during sign in.
Minor Changes
Add full SAML support
Update signin
isLoggedInAndSingleSessionguard to navigate usingbuildAfterSignInUrlwhen true.
Patch Changes
Fixes issue where the incorrect sign in first factor strategy was being returned during sign in.
Ensure correct supported strategies are rendered based on first or second factor needs.
- 0.10.x
0.10.6 – 0.10.72 releases with no change for you1 dependency update, 1 without a note@clerk/types 4.9.1Show each
- 0.10.726 Jul 2024@clerk/types 4.9.1
- 0.10.624 Jul 2024no note
0.10.5
23 Jul 2024Reverts addition of relatedTarget check in onFocus event handler which prevented fieldstate info from render on focus.
Handle call to
hasTagson undefinedstateFixes issue where an invalid password field was immediately being refocused after submission causing the validation to run and show the success state.
Patch Changes
Reverts addition of relatedTarget check in onFocus event handler which prevented fieldstate info from render on focus.
Handle call to
hasTagson undefinedstateFixes issue where an invalid password field was immediately being refocused after submission causing the validation to run and show the success state.
Pass resource directly to machine over getSnapshot to avoid empty context
Fix issue where password field validation was incorrectly showing successful field state due to input being refocused on invalid form submission
Update types to account for null second factors
Add support for
transformprop onSignIn.SafeIdentifierand determine identifier based on strategy
0.10.4
17 Jul 2024Fix issue where default field values were being set and clearing field errors.
Fix issue where resendable UI in the email_link verification step was not updating on click.
0.10.3
16 Jul 20240.10.2
12 Jul 2024Prefill populated fields when navigating back to the start step from the verify step
0.10.1
3 Jul 20240.10.0
2 Jul 2024Add
backup_codeverification strategy<SignIn.Step name='choose-strategy'> <SignIn.SupportedStrategy name='backup_code'>Use a backup code</SignIn.SupportedStrategy> <SignIn.Step>
<SignIn.Step name='verifications'> <SignIn.Strategy name='backup_code'> <Clerk.Field name="backup_code"> <Clerk.Label>Code:</Clerk.Label> <Clerk.Input /> <Clerk.FieldError /> </Clerk.Field> <Clerk.Action submit>Continue</Clerk.Action> </SignIn.Strategy> <SignIn.Step>Addresses the issue where sign-in factors were not properly falling back to empty arrays.
Refactors sign-up loading logic to be in-line with sign-in
Minor Changes
Add
backup_codeverification strategy<SignIn.Step name='choose-strategy'> <SignIn.SupportedStrategy name='backup_code'>Use a backup code</SignIn.SupportedStrategy> <SignIn.Step>
<SignIn.Step name='verifications'> <SignIn.Strategy name='backup_code'> <Clerk.Field name="backup_code"> <Clerk.Label>Code:</Clerk.Label> <Clerk.Input /> <Clerk.FieldError /> </Clerk.Field> <Clerk.Action submit>Continue</Clerk.Action> </SignIn.Strategy> <SignIn.Step>
Patch Changes
Addresses the issue where sign-in factors were not properly falling back to empty arrays.
Refactors sign-up loading logic to be in-line with sign-in
Ensure Sign Up resending resets upon being triggered
Fixes persistent loading states within the
forgot-passwordstepFix Sign In forgot-password step not rendering
- 0.9.x
0.9.2
28 Jun 20240.9.1
25 Jun 2024Add a development-only warning for cases when a user renders a
<Strategy>component that isn't activated for their Clerk instance. As this can be intended behavior (e.g. build out a full example and let user enable/disable stuff solely in the dashboard) the warning can safely be ignored if necessary.
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.