Magic-link sign-insign-in-magic-link
Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/sign-in-magic-link.jsonAuth · 14 variants
← → to step through · + on a thumbnail to compare side by side (up to 3)
/preview/sign-in-magic-link
Open ↗Default content
{
"brand": "kestrella",
"brandHref": "#",
"title": "Sign in without a password",
"description": "Enter the email you enrolled with and we'll send a one-time sign-in link. Your course progress is waiting where you left it.",
"fields": [
{
"kind": "email",
"label": "Email",
"placeholder": "[email protected]",
"hint": "The link signs you in on this browser only."
}
],
"submitLabel": "Email me a sign-in link",
"sent": {
"title": "Check your email",
"description": "We sent a sign-in link to {email}. It works once and expires in 15 minutes. If the address isn't enrolled, no email is sent.",
"resendText": "Nothing yet?",
"resendLabel": "Send a new link",
"cooldown": {
"after": 45,
"waitText": "You can resend in {seconds}s"
},
"actions": [
{
"label": "Open mail app",
"href": "mailto:"
}
],
"tips": [
"The email comes from [email protected].",
"Open the link on this device, or request a new one there."
],
"changeLabel": "Use a different email"
},
"providers": {
"items": [
{
"label": "School account",
"icon": "school",
"href": "#"
},
{
"label": "Work account",
"icon": "building",
"href": "#"
}
],
"dividerLabel": "or continue with"
},
"back": {
"label": "Course catalog",
"href": "#"
},
"switch": {
"text": "Not enrolled yet?",
"link": {
"label": "Browse courses",
"href": "#"
}
},
"footer": [
{
"label": "Help",
"href": "#"
},
{
"label": "Privacy",
"href": "#"
},
{
"label": "Terms",
"href": "#"
}
]
}