Components
<SignedOut>
The <SignedOut>
component conditionally renders its children only when the user is not authenticated. It is a simple helper for handling UI components or pages that should only be accessible by guests (unauthenticated users).
Use this component to conditionally hide or show content based on the user's authentication status.
Usage
Wrap any content that should be displayed only to signed-out (unauthenticated) users within the <SignedOut>
component:
Example
A practical view managing authentication states using both <SignedIn>
and <SignedOut>
components together: