Hiyve Components - v1.0.0
    Preparing search index...

    Function PasswordResetForm

    • Form for setting a new password using a reset token from email.

      Requires a valid reset token (typically extracted from a URL parameter). Validates that the password and confirmation match before submission, and displays a success state on completion.

      Parameters

      Returns Element

      Key Features:

      • New password and confirmation fields with match validation
      • Password visibility toggle
      • Success state with confirmation message
      • "Back to login" navigation link
      • Customizable labels, colors, styles, and icons
      const token = new URLSearchParams(location.search).get('reset_token')!;

      <PasswordResetForm
      token={token}
      onSuccess={() => navigate('/login')}
      onBack={() => navigate('/login')}
      />