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.
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.
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.
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.
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- Global CSS
- the feels, the density tokens, the shape tokens and the success and warning colours
New to Kino? Installation covers what your project needs first and the @kino namespace.
API reference
SignIn
SignInPassword
SignInCode
SignInSocial
SignInDivider
Accessibility
- The email is a
usernamefield and the password acurrent-passwordone, 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-codeon 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.