Skip to contentKino
Skip to Content

Sign in

A sign-in screen built from the ways in your app offers. A password a password manager fills, a code by email, and Google, GitHub or Apple.

Preview

An email and password, both on screen so a password manager fills them and signs in, with Google, GitHub and Apple under them. The password here is kinoui-2026.

npx shadcn add https://kinoui.com/r/sign-in.json
Kino

Sign in

Welcome back. Pick up where you left off.
or
New to Kino? Create an account

Examples

Password

Only an email and password. Forgot password sends a reset link, and the step that says so grows under the email. The password here is kinoui-2026.

npx shadcn add https://kinoui.com/r/sign-in.json
Kino

Sign in

Welcome back. Pick up where you left off.
New to Kino? Create an account

Email code

No password: a 6-digit code goes to the email and signs the person in, with a resend once the wait is over. The code here is 424242.

npx shadcn add https://kinoui.com/r/sign-in.json
Kino

Sign in

Welcome back. Pick up where you left off.
New to Kino? Create an account

Email code and social

A code by email, with Google, GitHub and Apple under it. Once the code is sent, the accounts fold away. The code here is 424242.

npx shadcn add https://kinoui.com/r/sign-in.json
Kino

Sign in

Welcome back. Pick up where you left off.
or
New to Kino? Create an account

Social

Only Google, GitHub and Apple, with the one used last first.

npx shadcn add https://kinoui.com/r/sign-in.json
Kino

Sign in

Welcome back. Pick up where you left off.
New to Kino? Create an account

Installation

npx shadcn@latest add https://kinoui.com/r/sign-in.json
Files
lib/refs.tslib/reduce-motion.tslib/resize.tslib/swap.tsxcomponents/kino/spinner.tsxcomponents/kino/button.tsxcomponents/kino/label.tsxlib/settle.tscomponents/kino/field.tsxcomponents/kino/input.tsxcomponents/kino/separator.tsxcomponents/kino/input-otp.tsxcomponents/kino/textarea.tsxcomponents/kino/input-group.tsxcomponents/kino/password-input.tsxcomponents/kino/badge.tsxlib/popup.tslib/glide.tsxcomponents/kino/tooltip.tsxlib/controllable.tscomponents/kino/social-sign-in.tsxlib/scroll.tslib/panel.tsxcomponents/kino/card.tsxlib/announce.tsxlib/auth-screen.tsxcomponents/kino/sign-in/sign-in.tsxcomponents/kino/sign-in/sign-in-password.tsxcomponents/kino/sign-in/sign-in-code.tsxcomponents/kino/sign-in/sign-in-social.tsxcomponents/kino/sign-in/sign-in-parts.tsxcomponents/kino/sign-in/sign-in-flow.ts
Packages
@base-ui/reactclass-variance-authority

New to Kino? Installation covers what your project needs first and the @kino namespace.

API reference

SignIn

PropTypeDefaultDescription
titlestring'Sign in to Kino'The heading.
descriptionReactNodeNoneThe line under the heading.
heading'h1''h2''h3''h1'The title's level: the page's h1 on a sign-in page, lower inside another page or a dialog.
footerReactNodeNoneUnder the card: a link to sign up, or your terms.
onSignedIn(email: string) => voidNoneRuns once the person is in: open the app.

SignInPassword

PropTypeDefaultDescription
onSignIn(email: string, password: string) => boolean | Promise<boolean>Nonetrue signs in, false says the email and password don't match. A throw says the server couldn't be reached.
onResetPassword(email: string) => unknownNoneEmails a link to choose a new password. A throw says it couldn't be sent.
defaultEmailstringNoneThe email it opens with, such as the one used last.

SignInCode

PropTypeDefaultDescription
onSendCode(email: string) => unknownNoneEmails a code. A throw says it couldn't be sent.
onVerifyCode(email: string, code: string) => 'ok' | 'wrong' | 'expired'Promise<…>Noneok signs in. A throw says the code couldn't be checked.
resendAfternumber30Seconds before another code can be sent.
defaultEmailstringNoneThe email it opens with.
defaultStep'email''code''email'code opens on the boxes, such as from a link in the email that carried the code.
defaultError'wrong-code''expired-code'NoneOpens with the code refused, such as from a link whose code has expired.

SignInSocial

PropTypeDefaultDescription
onSignIn(provider: SocialProvider) => unknownNoneOpens the provider. A throw says it couldn't be reached.
lastUsed'google''github''apple'NoneThe provider used last, which leads.
layout'stack''row''stack'row shows the logos alone, side by side.

SignInDivider

PropTypeDefaultDescription
childrenReactNode'or'The word on the line.

Accessibility

  • The email is a username field and the password a current-password one, in one form with a submit button, so password managers fill and send them. Success removes the form, as browsers expect before they offer to save a password.
  • The code goes in six boxes that take a pasted or autofilled code in one go, with one-time-code on the first. Every box is described by where the code went and why it was refused.
  • When a part moves on, focus goes to its next field. A field that needs filling takes focus with its error, and no error says whether an account exists for the email.
  • Errors are announced as they appear, in regions that exist before them, and a new code being sent is announced once. The heading is the page's h1, and the signed-in heading takes focus.