nextui.dev
Home
Docs
Saved
Pricing
Components37
  • Forms & inputs7
  • Cards13
  • Buttons, badges & avatars8
  • Feedback & display6
  • Effects3
Agents17
  • Chat inputNew
  • Task checklistNew
  • ReasoningNew
  • Tool callNew
  • Tool approvalNew
  • SourcesNew
  • Agent timelineNew
  • Artifact panelNew
  • Streaming messageNew
  • Conversation shellNew
  • Voice agentNew
  • Voice orbNew
  • Thinking ring
  • Thinking waveNew
  • Thinking sparkle
  • Thinking bot
  • Prompt deckNew
Blocks20
  • Agent chatNew
  • Pill heroNew
  • Grid hero
  • Moodboard generatorNew
  • Waitlist heroNew
  • Intro bannerNew
  • Creative home heroNew
  • Chat heroNew
  • App shelfNew
  • Usage card
  • Design resultsNew
  • Pricing tiers
  • Dashboard home
  • The shiftNew
  • Launch perksNew
  • Testimonials
  • Quote
  • Team
  • Leads tableNew
  • Sign in
Pages10
  • ASCII workspace$49
  • CRM overviewNew
  • Marketing dashboardNew
  • Developer portfolio$49
  • Particle landing$49
  • Particle story$49
  • Statement converter$49
  • AI photo studio$49
  • Group card launch$49
  • Month-end storyNew
Themes9
  • Default
  • Ember
  • Ocean
  • Forest
  • Grape
  • Rose
  • Amber
  • Clay
  • Brutal
Upgrade
nextui.dev

nextui components, blocks and themes you install with one command.

Product

  • Components
  • Blocks
  • Themes
  • Pricing

Resources

  • Docs
  • Roadmap
  • GitHub

Legal

  • License
  • Privacy
  • Terms
  • Refunds

nextUI

[ 200 OK ] · nextUI

© 2026 NEXTUI • All rights reserved.

Upgrade
BlocksSign in
Copy promptCopy prompt

Customize

Heading

Line under the heading

Text in the divider

Email field placeholder

Password field placeholder

Checkbox label

Reset link text

Submit button text

Disables the submit button

Text before the sign-up link

Sign-up link text

JSX · copied with Copy prompt

<SignInCard />

Sign in

Sign-in card in a soft frame: GitHub and Google buttons, email and password with a show toggle, remember me and a sign-up footer.

Installation

Set your access key from API keys as NEXTUI_TOKEN in .env.local and add the @nextui namespace below to components.json once. Then every item installs by name. Each install counts as a copy on a free account.

$pnpm dlx shadcn@latest add @nextui/sign-in
1{
2 "registries": {
3 "@nextui": {
4 "url": "https://nextui.dev/r/{name}.json",
5 "headers": { "Authorization": "Bearer ${NEXTUI_TOKEN}" }
6 }
7 }
8}

Usage

1"use client";
2
3import { useState } from "react";
4import { SignInCard } from "@/components/blocks/sign-in";
5
6export function Login() {
7 const [pending, setPending] = useState(false);
8
9 return (
10 <SignInCard
11 title="Welcome back"
12 description="Sign in to your Kite workspace"
13 forgotHref="/reset"
14 signUpHref="/signup"
15 pending={pending}
16 onProviderClick={(id) => location.assign(`/auth/${id}`)}
17 onSubmit={async ({ email, password, remember }) => {
18 setPending(true);
19 await fetch("/api/login", { method: "POST", body: JSON.stringify({ email, password, remember }) });
20 setPending(false);
21 }}
22 />
23 );
24}

API reference

Edit props live in the preview above, or see all 18 props
PropTypeDefaultDescription
logoReactNodecube markMark above the title
titlestring"Sign in to continue"Heading
descriptionstring"Please sign in to start your AI support"Line under the heading
providersLoginProvider[]GitHub, GoogleSocial buttons: id, label, icon; empty hides them and the divider
onProviderClick(id: string) => void–A social button was clicked
dividerLabelstring"or"Text in the divider
emailPlaceholderstring"Your mail"Email field placeholder
passwordPlaceholderstring"Password"Password field placeholder
rememberLabelstring"Remember me"Checkbox label
forgotLabelstring"Forgot password?"Reset link text
forgotHrefstring"#"Reset link
submitLabelstring"Sign In"Submit button text
pendingbooleanfalseDisables the submit button
onSubmit(values: LoginValues, event: FormEvent) => void–Called with email, password and remember
signUpPromptstring"Don't have an account?"Text before the sign-up link
signUpLabelstring"Sign Up"Sign-up link text
signUpHrefstring"#"Sign-up link
classNamestring–Extra classes on the section

Related

All blocks

Agent chatNew

Pill heroNew

Sign in to see the code

Preview it freely. A free account copies code and prompts a few times a day.

Sign in