Registry Index

Search the catalog

Type to search items across every indexed registry, or pick a page.

BlockReactregistry:block5 dependencies

Login

login

The standard email-and-password sign-in card, with remember-me and a forgot-password escape hatch.

Live, loading

Starting the live preview…

Runs in a sandboxed frame on a separate origin, in its registry's own theme. Mounted with no props — an item that paints an empty box is given its name as text, and some items need input to show anything.

Notes from the author

The standard email-and-password sign-in card, with remember-me and a forgot-password escape hatch. Do: Treat "Remember me" as extending session length, never as the only thing standing between a device and the account. Don't: Rely on the remember-me checkbox as a security boundary. Do: Style "Forgot your password?" as a link beneath "Sign in" — one unmistakable primary action per card. Don't: Give "Forgot your password?" the same solid button treatment as "Sign in" — now two buttons compete to be primary. Use login-split-panel when the sign-in is a full page, not an embedded card, and you want a branded testimonial panel alongside it. Use login-minimal when you want the leanest possible sign-in — a single email field for a one-time code, no password at all. Use login-oauth when most of your users sign in through Google, GitHub, or Apple rather than a password you store. Use forgot-password when the user has already clicked "Forgot your password?" — that's a separate card, not a state of this one.
@quill

More from @quill