Skip to contentKino
Skip to Content

Sign up

A sign-up screen built from the ways in your app offers. A name, an email and a new password with its strength, or Google, GitHub or Apple, then a link by email.

Preview

A name, an email and a new password with its strength and rules, then the terms, with Google, GitHub and Apple under them. Once the account is made, the card asks the person to check their email.

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

Create your account

It takes less than a minute.
Password strength
x
  • 15 characters or more
  • Doesn’t use your name, your email or Kino
or
Already have an account? Sign in

Examples

Form

Only the form. Each field is checked as it is left, and every field when Create account is pressed.

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

Create your account

It takes less than a minute.
Password strength
x
  • 15 characters or more
  • Doesn’t use your name, your email or Kino
Already have an account? Sign in

Social first

The logos in a row above the form, for an app most people join with an account they have.

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

Create your account

It takes less than a minute.
or
Password strength
x
  • 15 characters or more
  • Doesn’t use your name, your email or Kino
Already have an account? Sign in

Social

Only Google, GitHub and Apple, with the terms under the card.

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

Create your account

It takes less than a minute.

By signing up, you agree to the Terms of Service and Privacy Policy.

Already have an account? Sign in

Installation

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

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

API reference

SignUp

PropTypeDefaultDescription
titlestring'Create your account'The heading.
descriptionReactNode'It takes less than a minute.'The line under the heading.
heading'h1''h2''h3''h1'The title's level: the page's h1 on a sign-up page, lower inside another page or a dialog.
footerReactNodeNoneUnder the card: a link to sign in, or your terms.

SignUpForm

PropTypeDefaultDescription
onSignUp(account) => SignUpErrors | voidPromise<…>NoneMakes the account from { name, email, password } and emails a link to finish it. Return errors by field, such as { password: "…" } for one found in a breach, to show them there. A throw says the server couldn’t be reached.
onResendEmail(email: string) => unknownNoneEmails the link again. A throw says it couldn’t be sent.
resendAfternumber30Seconds before another email can be sent.
termsReactNodeNoneWhat the person agrees to, beside the checkbox. By default, links to /terms and /privacy.
defaultEmailstringNoneThe email it opens with, such as the one an invite went to.

SignUpSocial

PropTypeDefaultDescription
onSignUp(provider: SocialProvider) => unknownNoneOpens the provider. A throw says it couldn’t be reached.
layout'stack''row''stack'row shows the logos alone, side by side.

SignUpDivider

PropTypeDefaultDescription
childrenReactNode'or'The word on the line.

Accessibility

  • The email is a username field and the password a new-password one, in one form with a submit button, so a password manager offers a strong password and saves it with the email. Success removes the form, as browsers expect before they offer to save.
  • Each field’s error is announced as it appears and names what to do. On submit, focus goes to the first field to fix, and an error goes as soon as the person starts fixing it.
  • The password’s rules describe its box and are ticked as they’re met, and a screen reader hears its strength once typing pauses.
  • The check-your-email heading takes focus as it arrives, and a new email being sent is announced once. It reads the same whether or not the address already had an account, so the form never says who has signed up: your server emails that person a sign-in link instead.