Below you will find links to implementation guidance regarding autofill.
Autofill - Conditional UI browser feature detection
Implementing a simple autofill - conditional UI flow for passkeys
Implementing a combination autofill / conditional UI + modal flow