We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fbb116 commit ec28f90Copy full SHA for ec28f90
docs/fern/docs/pages/sdk/credential-sign-in.mdx
@@ -0,0 +1,33 @@
1
+---
2
+title: CredentialSignIn
3
4
+
5
+# CredentialSignIn
6
7
+A React component that renders a sign-in form using email and password credentials.
8
9
+## Usage
10
11
+```tsx
12
+import { CredentialSignIn } from '@stackframe/stack';
13
14
+function SignInPage() {
15
+ return (
16
+ <div>
17
+ <h1>Sign In</h1>
18
+ <CredentialSignIn />
19
+ </div>
20
+ );
21
+}
22
+```
23
24
+## Features
25
26
+- Email and password input fields
27
+- Form validation using Yup schema
28
+- Error handling and display
29
+- Loading state during sign-in process
30
+- 'Forgot password' link
31
+- Submission button
32
33
+The component uses the `useStackApp` hook to access the app instance for signing in and retrieving URLs.
0 commit comments