Layout
The layout key can be used to change the layout of the <SignIn/>
and <SignUp/>
components, as well as important links to your support, terms, and privacy pages.
Usage
app.tsximport { ClerkProvider } from '@clerk/nextjs'; <ClerkProvider appearance={{ layout: { socialButtonsPlacement: 'bottom', socialButtonsVariant: 'iconButton', termsPageUrl: 'https://clerk.com/terms' } }} > {/* ... */} </ClerkProvider>;
Properties
Name | Type | Description |
---|---|---|
helpPageUrl | string | The URL to your help page. |
logoImageUrl | string | The URL to your logo image. |
logoPlacement | 'inside' | 'outside' | The placement of your logo. |
privacyPageUrl | string | The URL to your privacy page. |
showOptionalFields | boolean | Whether to show optional fields on sign up. |
socialButtonsPlacement | 'bottom' | 'top' | The placement of your social buttons. |
socialButtonsVariant | 'blockButton' | 'textButton' | 'auto' | The variant of your social buttons. |
termsPageUrl | string | The URL to your terms page. |