---
title: "<PasswordReset />"
---

Renders a password reset component based on the provided search parameters and optional full page display.

## Props

<PropTable
  props={[
    {
      name: "searchParams",
      type: "Record<string, string>",
      description: "An object containing search parameters, including the password reset code."
    },
    {
      name: "fullPage",
      type: "boolean",
      description: "Determines whether to display the component in full page mode.",
      optional: true,
      default: "false"
    }
  ]}
/>

## Example

```tsx title="app/reset-password.tsx"
import { PasswordReset } from '@stackframe/stack';

export function ResetPasswordPage(props: { searchParams: Record<string, string> }) {
  return (
    <PasswordReset
      searchParams={props.searchParams}
      fullPage={true}
    />
  );
}
```
