> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Check if User is Logged In

Use the reactive client (e.g. `useReactiveClient(dynamicClient)` from `@dynamic-labs/react-hooks`, or a local alias like `useDynamic` from your client file) to read auth state:

```tsx React Native theme={"system"}
import { useReactiveClient } from '@dynamic-labs/react-hooks';
import { dynamicClient } from '<path to client file>';
import { View, Text } from 'react-native';

const MyComponent = () => {
  const { auth } = useReactiveClient(dynamicClient);

  return (
    <View>
      <Text>
        {auth.token ? 'You are logged in!' : 'Please log in to continue.'}
      </Text>
    </View>
  );
};

export default MyComponent;
```
