A component that renders a sign-in form with email and password fields.

CredentialSignIn

Note that if credential sign-in is disabled in the dashboard, this component will still render. However, attempting to use it will result in an error being thrown.

For more information, please refer to the custom pages guide.

Props

This component does not accept any props.

Example

1import { CredentialSignIn } from '@stackframe/stack';
2
3export default function Page() {
4 return (
5 <div>
6 <h1>Sign In</h1>
7 <CredentialSignIn />
8 </div>
9 );
10}