Components
<SignedIn>
The <SignedIn>
component conditionally renders its child components based on whether a user is authenticated.
Use it to display content only visible to logged-in users.
Usage
Basic usage example:
Example
Here's an example demonstrating <SignedIn>
in a practical scenario:
In this example, the <UserButton />
component is displayed only if the user has an active session. Otherwise, visitors are prompted with a sign-in link.