@clerk/elements
0.24.13 · 27 Feb 2026MIT23.1k / weekRepositoryHomepagenpmAtom feed
0.24.23 is the newest release of 0.9.x.
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 hasdata-validanddata-invalidattributes. If there are global errors (same heuristics as<GlobalError>) then adata-global-errorattribute will be present.Fixed a bug where
<Field>could containdata-validanddata-invalidat the same time.The field state (accessible through e.g.
<FieldState>) now also incorporates the field's ValidityState into its output. If theValidityStateis invalid, the field state will be anerror. You can access this information in three places:<FieldState>data-stateattribute on<Input><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.