Skip to Content
DocsEnterpriseBlogShowcase

Client Only

Used to render content only on the client side.

SourceStorybookRecipe

Usage

import { ClientOnly, Skeleton } from "@chakra-ui/react"
<ClientOnly fallback={<Skeleton />}>
  <ColorModeButton />
</ClientOnly>

Props

These props can be passed to the ClientOnly component.

PropDefaultType
fallback
React.ReactNode