The user must have already signed in via another method (e.g. email/password, social, etc.) and added a passkey to their account before they can use it to sign in with.You can prompt a user to add a passkey to their account by using the useRegisterPasskey hook or by directing them to the “Account & Security” section of the Dynamic Widget.
All we will need for this use case is the useSignInWithPasskey hook.Once you have those available in your component, the rest is as simple as building your form!