clerk-custom-ui
Build custom authentication flows and visually brand Clerk components with hooks and appearance styling.
- Provides
useSignInanduseSignUphooks for building custom sign-in/sign-up UI; API differs between Core 2 and current SDK versions - Appearance customization via
variables(colors, typography, borders),options(logo, social button layout), and pre-built themes (dark, neobrutalism, shadcn, simple) - shadcn theme automatically matches shadcn/ui projects when
components.jsonis present; theme stacking allows layering multiple themes with precedence - Requires
ClerkProviderwrapper; SDK version determines which custom flow references and appearance property names (layoutin Core 2,optionsin current) to use
Custom UI
Prerequisite: Ensure
ClerkProviderwraps your app. Seeclerk-setupskill.Version: Check
package.jsonfor the SDK version — seeclerkskill for the version table. This determines which custom flow references to use below.
This skill covers two areas:
- Custom authentication flows — build your own sign-in/sign-up UI with hooks
- Appearance customization — theme, style, and brand Clerk's pre-built components
What Do You Need?
| Task | Reference |
|---|---|
| Custom sign-in (Core 2 / LTS) | core-2/custom-sign-in.md |
| Custom sign-up (Core 2 / LTS) | core-2/custom-sign-up.md |
| Custom sign-in (Current SDK v7+) | core-3/custom-sign-in.md |
| Custom sign-up (Current SDK v7+) | core-3/custom-sign-up.md |
| Show component pattern (Current SDK) | core-3/show-component.md |
More from clerk/skills
clerk-nextjs-patterns
Advanced Next.js patterns - middleware, Server Actions, caching with
11.2Kclerk
Clerk authentication router. Use when user asks about adding authentication,
7.7Kclerk-setup
Add Clerk authentication to any project by following the official quickstart
6.9Kclerk-webhooks
Clerk webhooks for real-time events and data syncing. Verify with verifyWebhook
6.0Kclerk-testing
E2E testing for Clerk apps. Use with Playwright or Cypress for auth flow
5.8Kclerk-orgs
Clerk Organizations for B2B SaaS - create multi-tenant apps with org
5.3K