Just dropped a new post running through how to create a login or signup form in Svelte following some UX and security best practices.
Hope you find it useful!
https://rodneylab.com/svelte-login-form-example/