Loading...
Loading...
Customize Clerk component appearance - themes, layout, colors, fonts, CSS. Use for appearance styling, visual customization, branding.
npx skill4agent add clerk/skills clerk-custom-uiPrerequisite: Ensurewraps your app. SeeClerkProvider.setup/
| Task | Documentation |
|---|---|
| Appearance prop overview | https://clerk.com/docs/nextjs/guides/customizing-clerk/appearance-prop/overview |
| Layout (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 configuration | https://clerk.com/docs/nextjs/guides/customizing-clerk/appearance-prop/captcha |
| Bring your own CSS | https://clerk.com/docs/nextjs/guides/customizing-clerk/appearance-prop/bring-your-own-css |
<SignIn
appearance={{
variables: {
colorPrimary: '#0000ff',
borderRadius: '0.5rem',
},
layout: {
logoImageUrl: '/logo.png',
socialButtonsVariant: 'iconButton',
},
}}
/>| Property | Description |
|---|---|
| Primary color throughout |
| Background color |
| Border radius (default: |
| Property | Description |
|---|---|
| URL to custom logo |
| |
| |
components.jsonimport { shadcn } from '@clerk/themes'
<ClerkProvider
appearance={{
theme: shadcn,
}}
/>@import 'tailwindcss';
@import '@clerk/themes/shadcn.css';| Issue | Solution |
|---|---|
| Colors not applying | Use |
| Logo not showing | Put |
| Social buttons wrong | Add |
| Styling not working | Use appearance prop, not direct CSS (unless with bring-your-own-css) |