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

4 Nov 2025Where it was published

0.24.23 is the newest release of 0.23.x.

npm marks 0.23.76 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 deprecated3 internal

  • Deprecated

    Deprecate @clerk/types in favor of @clerk/shared/types

Release note

Patch Changes

  • Deprecated

    Deprecate @clerk/types in favor of @clerk/shared/types

    The @clerk/types package is now deprecated. All type definitions have been consolidated and moved to @clerk/shared/types to improve consistency across the Clerk ecosystem.

    Backward Compatibility:

    The @clerk/types package will remain available and will continue to re-export all types from @clerk/shared/types to ensure backward compatibility. Existing applications will continue to work without any immediate breaking changes. However, we strongly recommend migrating to @clerk/shared/types as new type definitions and updates will only be added to @clerk/shared/types starting with the next major release.

    Migration Steps:

    Please update your imports from @clerk/types to @clerk/shared/types:

    // Before
    import type { ClerkResource, UserResource } from '@clerk/types';
    
    // After
    import type { ClerkResource, UserResource } from '@clerk/shared/types';

    What Changed:

    All type definitions including:

    • Resource types (User, Organization, Session, etc.)

    • API response types

    • Configuration types

    • Authentication types

    • Error types

    • And all other shared types

    Have been moved from packages/types/src to packages/shared/src/types and are now exported via @clerk/shared/types.

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.