Skip to content

Clerk Elements

Docs examples for composing Clerk Elements with shadcn/ui into custom sign-in and sign-up flows.

clerk.com/docs/elements/examples/shadcn-ui

Clerk Elements website screenshot
Added

About

About Clerk Elements

Clerk Elements is a set of composable components for building custom authentication screens on top of Clerk's APIs. It points to Clerk's docs page of examples that combine them with shadcn/ui, covering sign-up, sign-in and an OTP input. The examples use shadcn/ui Button, Card, Input and Label components and add a few animations to the Tailwind config.

The page marks the feature as deprecated. With Clerk Core 3, the redesigned hooks are the recommended replacement, exposing stateful objects, step methods and field-level errors so you do not manage attempt status or loading yourself. Use these examples only to maintain an existing integration, and read the hooks guide for new work. It suits teams already running Clerk in a Next.js app with shadcn/ui.

Clerk Elements features

5 features

  • Sign-up flow example
  • Sign-in flow example
  • OTP input example
  • Built with shadcn/ui Button, Card, Input and Label
  • Composable Clerk Elements components

What you can build with Clerk Elements

3 use cases

  • Maintaining an existing Clerk Elements sign-in page
  • Reading how a custom OTP input was composed
  • Planning a migration from Elements to Clerk hooks

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Clerk Elements is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro