Clerk
Clerk logo

The easy solution to

Next.js authentication

Magic links, social sign-in, multifactor auth, and more – added to your application in minutes.

Really good stuff. The Next.js integration story is already really quite good and the Clerk team has really good ideas on how to make it even better and more seamless.

guillermo profile
Guillermo Rauch
CEO, Vercel

Purpose built for theNext.js App Router

Auth middleware and first-class support for React Server Components provide secure page protection and easy access to user and session context within server components, actions, and route handlers.

Radically simple auth

It only takes one line of code.

<SignIn />

Your sign-in flow is the only thing sitting between existing users and your application—it's absolutely critical that users can complete the process quickly.

import { SignIn } from '@clerk/nextjs';
...
return (
<>
<BackgroundImage />
<SignIn />
</>
);
...
sign-in-full

<UserProfile />

A place for your users to change their password, turn on multifactor auth, revoke bad sessions, and more. Every app should offer the best security options, so every user can be safe.

import { UserProfile } from '@clerk/nextjs';
...
return (
<>
<CustomHeader />
<UserProfile />
</>
);
...
user-profile-full

Immensely powerful

The features your users expect.

Magic links
Make passwords obsolete by sending your users magic links
Session management
Revocable and stateless, the best of both worlds.
Multifactor authentication
Secure your users with multiple steps during sign in.
Social sign-in
Let your users sign in with Google, Facebook, and more
Multi-session management
Allow your users to sign in to multiple accounts at once.
New device notifications
Proactively notify users when a new device signs in. Let's your users protect themself.
Password leak protection
Proactively protects your users against passwords that appear in leaks.
Advanced security
Clerk detects and blocks phishy sign ins out of the box.

Get Started

Complete user management

Clerk is the ideal solution to Next.js authentication. Integrate complete user management into your application quickly, without sacrificing security.

Documentation

Our easy-to-follow documentation will get your application working with user management and authentication quickly. Save development time with Clerk's comprehensive suite of tools.

Get Started

Get started with Clerk and Next.js! We created this simple Clerk + Next.js starter repository so that you can begin building your application immediately.

Open source examples

See them in action. Then, clone and customize to make them yours.

Simple

Simple

Using Clerk Components simply.

Featuring
  • Email Magic Links

  • Sign in with Google

  • MFA w/ SMS

  • User profile component

Acme

Acme

Styling Clerk Components elegantly.

Featuring
  • Email or SMS Sign in

  • User button component

  • CSS in JS styling

  • User profile component

Widget

Widget

Collect custom fields at sign up.

Featuring
  • Email/password sign in

  • Styled components

  • Custom styling

  • Addt. sign up fields

Oasis

Oasis

Build a progressive sign up form.

Featuring
  • Email code sign in

  • User Profile

  • Fully customized

  • Addt. sign up fields

Clerk's logo

Start now,
no strings attached

Start completely free for up to 10,000 monthly active users and up to 100 monthly active orgs. No credit card required.

Start Building

Pricing built for
businesses of all sizes.

Learn more about our transparent per-user costs to estimate how much your company could save by implementing Clerk.

View pricing
Clerk's logo

Newsletter!

The latest news and updates from Clerk, sent to your inbox.

Clerk logo

Clerk - Complete User Management

TwitterLinkedInGitHubDiscordFacebook

© 2023 Clerk Inc.


product
Components

© 2023 Clerk Inc.