You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `SignIn` component is a pre-built UI element that displays all available sign-in methods as configured in the Stack dashboard.
5
+
# SignIn
6
6
7
-
<Note>
8
-
This component does not redirect a signed-in user. To achieve automatic redirection for signed-in users, you can use the `useUser` hook to check the user's sign-in status and perform the redirection if necessary.
9
-
</Note>
7
+
Renders a sign-in page component.
10
8
11
-

9
+
## Parameters
12
10
13
-
## Props
14
-
-`fullPage` (boolean): Determines whether the component should occupy the full page. Default is `false`.
11
+
-`fullPage` (optional): `boolean` - Determines if the sign-in page should be rendered in full-page mode. Default is `false`.
12
+
13
+
## Example
14
+
15
+
```tsx
16
+
import { SignIn } from'@stackframe/stack';
17
+
18
+
// Default usage
19
+
<SignIn />
20
+
21
+
// Full-page mode
22
+
<SignInfullPage={true} />
23
+
```
24
+
25
+
This component wraps the `AuthPage` component with the 'sign-in' type, providing a pre-configured sign-in page.
0 commit comments