https://github.com/rodneylab/svelte-login-form
Svelte login form example 📝 signup and login forms for your Svelte app with password strength meter 🔐 and strong password auto generation.
https://github.com/rodneylab/svelte-login-form
login-forms owasp signup-form svelte ux zxcvbn
Last synced: 4 months ago
JSON representation
Svelte login form example 📝 signup and login forms for your Svelte app with password strength meter 🔐 and strong password auto generation.
- Host: GitHub
- URL: https://github.com/rodneylab/svelte-login-form
- Owner: rodneylab
- License: bsd-3-clause
- Created: 2023-05-29T18:33:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-31T09:27:45.000Z (over 1 year ago)
- Last Synced: 2025-04-26T08:35:09.844Z (about 1 year ago)
- Topics: login-forms, owasp, signup-form, svelte, ux, zxcvbn
- Language: Svelte
- Homepage:
- Size: 455 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README

Svelte Login Form
# svelte-login-form
[](https://stackblitz.com/github/rodneylab/svelte-login-form)
Demo code for creating a login and signup form in Svelte following some best practices. The code accompanies the Svelte login form example post. If you have any questions, please drop a comment at the bottom of that page.
## Building and previewing the site
If you're seeing this, you've probably already done this step. Congrats!
```bash
git clone https://github.com/rodneylab/svelte-login-form.git
cd svelte-login-form
pnpm install # or npm install
cp .env.example .env
pnpm dev
```
## Building
```bash
pnpm run build
```
> You can preview the built app with `pnpm preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.
Feel free to jump into the [Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).