clerk-custom-ui — custom authentication flow examples clerk-custom-ui, community, custom authentication flow examples, ide skills, clerk-custom-ui install, clerk-custom-ui documentation, Claude Code, Cursor, Windsurf

v2.1.0
GitHub

About this Skill

Ideal for Frontend Agents requiring customized authentication flows and UI branding. clerk-custom-ui is a skill that allows developers to build custom sign-in/sign-up UI with hooks and customize the theme, style, and branding of Clerk's pre-built components.

Features

Build custom authentication flows using hooks
Customize the appearance of Clerk's pre-built components
Theme and style Clerk's components to match your brand
Use the ClerkProvider to wrap your app
Check package.json for the SDK version
Reference custom flow tables for setup

# Core Topics

mihaicrisan04 mihaicrisan04
[0]
[0]
Updated: 3/7/2026

Agent Capability Analysis

The clerk-custom-ui skill by mihaicrisan04 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for custom authentication flow examples, clerk-custom-ui install, clerk-custom-ui documentation.

Ideal Agent Persona

Ideal for Frontend Agents requiring customized authentication flows and UI branding.

Core Value

Empowers agents to create tailored sign-in/sign-up experiences using custom hooks and theme Clerk's pre-built components with SDK version-specific references from package.json, enabling seamless integration with ClerkProvider.

Capabilities Granted for clerk-custom-ui

Customizing authentication flows for branded sign-in/sign-up UI
Theming Clerk's pre-built components for consistent app appearance
Building custom UI components with hooks for advanced authentication workflows

! Prerequisites & Limits

  • Requires ClerkProvider to wrap the app
  • SDK version determines custom flow references
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

clerk-custom-ui

Install clerk-custom-ui, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Custom UI

Prerequisite: Ensure ClerkProvider wraps your app. See setup/.

Version: Check package.json for the SDK version — see clerk skill for the version table. This determines which custom flow references to use below.

This skill covers two areas:

  1. Custom authentication flows — build your own sign-in/sign-up UI with hooks
  2. Appearance customization — theme, style, and brand Clerk's pre-built components

Custom Flow References

TaskCore 2Current
Custom sign-in (useSignIn)core-2/custom-sign-in.mdcore-3/custom-sign-in.md
Custom sign-up (useSignUp)core-2/custom-sign-up.mdcore-3/custom-sign-up.md
<Show> component(use <SignedIn>, <SignedOut>, <Protect>)core-3/show-component.md

Appearance Customization

Appearance customization applies to both Core 2 and the current SDK.

Component Customization Options

TaskDocumentation
Appearance prop overviewhttps://clerk.com/docs/nextjs/guides/customizing-clerk/appearance-prop/overview
Options (structure, logo, buttons)https://clerk.com/docs/nextjs/guides/customizing-clerk/appearance-prop/layout
Themes (pre-built dark/light)https://clerk.com/docs/nextjs/guides/customizing-clerk/appearance-prop/themes
Variables (colors, fonts, spacing)https://clerk.com/docs/nextjs/guides/customizing-clerk/appearance-prop/variables
CAPTCHA configurationhttps://clerk.com/docs/nextjs/guides/customizing-clerk/appearance-prop/captcha
Bring your own CSShttps://clerk.com/docs/nextjs/guides/customizing-clerk/appearance-prop/bring-your-own-css

Appearance Pattern

typescript
1<SignIn 2 appearance={{ 3 variables: { 4 colorPrimary: '#0000ff', 5 borderRadius: '0.5rem', 6 }, 7 options: { 8 logoImageUrl: '/logo.png', 9 socialButtonsVariant: 'iconButton', 10 }, 11 }} 12/>

Core 2 ONLY (skip if current SDK): The options property was named layout. Use layout: { logoImageUrl: '...', socialButtonsVariant: '...' } instead of options.

variables (colors, typography, borders)

PropertyDescription
colorPrimaryPrimary color throughout
colorBackgroundBackground color
borderRadiusBorder radius (default: 0.375rem)

Opacity change: colorRing and colorModalBackdrop now render at full opacity. Use explicit rgba() values if you need transparency.

Core 2 ONLY (skip if current SDK): colorRing and colorModalBackdrop rendered at 15% opacity by default.

options (structure, logo, social buttons)

PropertyDescription
logoImageUrlURL to custom logo
socialButtonsVariant'blockButton' | 'iconButton' | 'auto'
socialButtonsPlacement'top' | 'bottom'
showOptionalFieldsShow optional fields (default: false)

Core 2 ONLY (skip if current SDK): This property is called layout, not options. Also, showOptionalFields defaulted to true.

Themes

Install themes from @clerk/ui:

bash
1npm install @clerk/ui
typescript
1import { dark } from '@clerk/ui/themes' 2 3<ClerkProvider appearance={{ theme: dark }} />

Core 2 ONLY (skip if current SDK): Themes are imported from @clerk/themes (install @clerk/themes instead of @clerk/ui). Example: import { dark } from '@clerk/themes'.

Theme stacking — pass an array where the last theme takes precedence:

typescript
1import { dark, neobrutalism } from '@clerk/ui/themes' 2 3<ClerkProvider appearance={{ theme: [dark, neobrutalism] }} />

CSS color-scheme support — the default theme respects the CSS color-scheme property for automatic light/dark mode toggling.

Available themes: dark, neobrutalism, shadcn, simple

shadcn Theme (HIGH PRIORITY)

IMPORTANT: If the project has components.json (shadcn/ui installed), ALWAYS apply the shadcn theme as the FIRST customization step. This ensures Clerk components visually match the existing shadcn design system. Skip this only if the user explicitly requests a different theme.

If the project uses shadcn/ui (check for components.json in the project root), always use the shadcn theme:

typescript
1import { shadcn } from '@clerk/ui/themes' 2 3<ClerkProvider appearance={{ theme: shadcn }} />

Also import shadcn CSS in your global styles:

css
1@import "tailwindcss"; 2@import "@clerk/ui/themes/shadcn.css";

Core 2 ONLY (skip if current SDK): Import from @clerk/themes and @clerk/themes/shadcn.css:

typescript
1import { shadcn } from "@clerk/themes";
css
1@import "@clerk/themes/shadcn.css";

Workflow

  1. Identify customization needs (custom flow or appearance)
  2. For custom flows: check SDK version → read appropriate core-2/ or core-3/ reference
  3. For appearance: WebFetch the appropriate documentation from table above
  4. Apply appearance prop to your Clerk components or build custom flow with hooks

Common Pitfalls

IssueSolution
Colors not applyingUse colorPrimary not primaryColor
Logo not showingPut logoImageUrl inside options: {} (or layout: {} in Core 2)
Social buttons wrongAdd socialButtonsVariant: 'iconButton' in options (or layout in Core 2)
Styling not workingUse appearance prop, not direct CSS (unless with bring-your-own-css)
Hook returns different shapeCheck SDK version — Core 2 and current have completely different useSignIn/useSignUp APIs

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is clerk-custom-ui?

Ideal for Frontend Agents requiring customized authentication flows and UI branding. clerk-custom-ui is a skill that allows developers to build custom sign-in/sign-up UI with hooks and customize the theme, style, and branding of Clerk's pre-built components.

How do I install clerk-custom-ui?

Run the command: npx killer-skills add mihaicrisan04/zalem/clerk-custom-ui. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for clerk-custom-ui?

Key use cases include: Customizing authentication flows for branded sign-in/sign-up UI, Theming Clerk's pre-built components for consistent app appearance, Building custom UI components with hooks for advanced authentication workflows.

Which IDEs are compatible with clerk-custom-ui?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for clerk-custom-ui?

Requires ClerkProvider to wrap the app. SDK version determines custom flow references.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add mihaicrisan04/zalem/clerk-custom-ui. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use clerk-custom-ui immediately in the current project.

Related Skills

Looking for an alternative to clerk-custom-ui or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI