Skip to main content
Docs

<SignedOut>

The <SignedOut> component offers authentication checks as a cross-cutting concern. Any child nodes wrapped by a <SignedOut> component will be rendered only if there's no User signed in to your application.

Properties

  • Name
    treatPendingAsSignedOut?
    Description
app/index.tsx
import { SignedOut } from '@clerk/clerk-expo'
import { Text, View } from 'react-native'

export default function Screen() {
  return (
    <View>
      <SignedOut>
        <Text>You are signed out</Text>
      </SignedOut>
      <Text>This content is always visible.</Text>
    </View>
  )
}

Feedback

What did you think of this content?

Last updated on