Skip to content
Components97 / 118

Peek Login

A sign-in card whose illustration is alive, and watching. The art shifts in real depth parallax, and its creature's eyes follow your cursor, read along as you type your email, squeeze shut while you type your password (one peeks when you show it), go happy when you sign in and dizzy when the details are wrong.

LoginAuthFormthree.jsDepth parallaxGSAP
Move around, then type an emailAType a password, then press the eye

Tweak

LIVE

Copy

Look

#6d5cff

Props

9 props
  • onSubmit({ email, password, remember }) => Promise<void> | void
    Sign in; throw or reject to show the error state.
  • onGoogle / onForgot / onSignUp() => void
    The secondary actions.
  • brandstring
    Name beside the mark.default "Lumo"
  • title / subtitlestring
    Heading and line under it.
  • imagestring
    The illustration.
  • depthstring
    Its depth map, white = near (drives the parallax).
  • eyes{ x, y, gap, size }
    Where the creature's eyes sit, as fractions of the art.
  • accentstring
    Focus lines, checkbox and links.default "#6d5cff"
  • classNamestring
    Extra classes.