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.9.0

25 Jun 2024Where it was published

0.24.23 is the newest release of 0.9.x.

npm marks 0.9.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 new2 fixed

Release note

Minor Changes

  • Improve <FieldState> and re-organize some data attributes related to validity states. These changes might be breaking changes for you.

    Overview of changes:

    • <form> no longer has data-valid and data-invalid attributes. If there are global errors (same heuristics as <GlobalError>) then a data-global-error attribute will be present.

    • Fixed a bug where <Field> could contain data-valid and data-invalid at the same time.

    • The field state (accessible through e.g. <FieldState>) now also incorporates the field's ValidityState into its output. If the ValidityState is invalid, the field state will be an error. You can access this information in three places:

      1. <FieldState>

      2. data-state attribute on <Input>

      3. <Field>{(state) => <p>Field's state is {state}</p>}</Field>

Patch Changes

  • Fix Sign In & Sign Up root fallbacks not rendering as expected

  • Update all Radix dependencies to their June 19, 2024 release

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.