Peek Login, animated React component
A sign-in card with a little face whose eyes follow the pointer and read along as you type your email. It covers its eyes with its paws while you type a password and peeks when you show it.
- Pro
- Login Forms
- Hover
- Spring
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| accent | string | "#0071e3" | Colour of the face, the focus rings and the Show/Hide button. |
| onSubmit | (values: PeekLoginValues) => void | — | Called with { email, password } on submit. The component sends nothing itself; it only plays a short local signing-in state. |
| autoplay | boolean | false | Types a sample email and password and peeks at it, on a loop, until someone interacts. |