Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.dev

<ClerkLoading>

Renders while Clerk is loading.

Overview

The <ClerkLoading> renders its children while Clerk is loading, and is helpful for showing a custom loading state.

This component only renders during client-side rendering (CSR only).

Usage

Make sure you've followed the installation guide for Clerk React before running the snippets below.

1

Props

This component accepts no props, apart from any child components that will render while Clerk is loading.

NameTypeDescription
childrenJSX.Element

Pass any component or components to render while Clerk is loading.

Was this helpful?

Clerk © 2022