Skip to main content

React Authentication

Authentication optimized for React

Implement authentication and user management the React way - with hooks and components.

Add Clerk auth to my app: clerk.com/SKILL.md

Trusted by fast-growing companies around the world

  • Browserbase
  • OpenRouter
  • Higgsfield
  • Durable
  • Inngest
  • Upstash

UI Building Blocks

Beautiful prebuilt components to authenticate and manage your users

UI components for secure user sign-in, sign-up, profile management, organization management, and more.

Clerk components work quickly out-of-the-box and can be customized to perfectly match your brand.

<SignIn />

It all starts here. Configure your <SignIn /> component with authentication options your users find convenient then embed it directly in your application.

Hooks and components

Everything you need for authentication

Clerk equips you with the tools and features necessary to implement the authentication experience your users deserve.

Access user data anywhere

Clerk efficiently handles user state management, giving you access to fresh user data wherever you need it.

const { user } =
useUser()

Render UI by authentication state

Use the <Show />component to render UI based on a user’s authentication state. Protect sensitive data with authorization checks in your backend.

import { RedirectToSignIn, Show } from '@clerk/react'

const AuthState = () => {