This is a work in progress. it's totally usable, but I'm publishing to allow for community involvement and to get feedback
Currently email & password is the only supported means of logging in.
<script>
import { LoginWindow } from 'meteor/tylerthompson:svelte-accounts'
</script>
<LoginWindow />
<script>
import { Login, Signup, Logout } from 'meteor/tylerthompson:svelte-accounts'
</script>
<Signup heading="Create an account" />
<Login />
<Logout />
Easy UI for Logins
| Prop | Type | Default | Description |
|---|---|---|---|
| loginHeading | string | "Login" | |
| signupHeading | string | "Sign Up" | |
| loginEmailLabel | string | "undefined" | |
| loginEmailPlaceholder | string | "Email" | |
| loginPasswordLabel | string | "Logundefinedin" | |
| loginPasswordPlaceholder | string | "Password" | |
| LoginButtonText | string | "Login" | |
| signUpEmailLabel | string | "undefined" | |
| signUpEmailPlaceholder | string | "Email" | |
| signUpPasswordLabel | string | "undefined" | |
| signUpPasswordPlaceholder | string | "Password" | |
| signUpButtonText | string | "Sign up" |
Login Form
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "Login" | |
| emailLabel | string | "undefined" | |
| emailPlaceholder | string | "Email" | |
| passwordPlaceholder | string | "Password" | |
| passwordLabel | string | "undefined" | |
| text | string | "Login" |
Sign Up Form
| Prop | Type | Default | Description |
|---|---|---|---|
| signupHeading | string | "Sign Up" | |
| emailLabel | string | "Email" | |
| emailPlaceholder | string | "undefined" | |
| passwordPlaceholder | string | "Password" | |
| passwordLabel | string | "undefined" | |
| text | string | "Sign Up" |
A button that logs the user out
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | "Logout" |