1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. mangacn
  3. Sign In

Sign In

block

The sign-in screen of the mangacn auth flow, made only with the kit. A manga Panel: the picture you pass for each state (pictures), focus SpeedLines around her, a SpeechBubble ('Welcome back! Your shelf missed you.', a shout bubble 'Huh?!' on error, 'Yes!' on success), a Manpu mark and the Sfx ドキッ. From 48rem of container width the panel stands full height on the start side of the form; narrower, it sits above the form in 4:3 with the character whole. The form, in a case (G1) when there is room: email Field, password with a show/hide toggle inside an InputGroup (aria-pressed, touch-hit), a 'Keep me signed in' Checkbox, a Sign in Button with its loading state (fields stay enabled), a 'Forgot password?' link, SocialButtons (Google, Apple by default, no logo shipped) behind an AuthDivider 'or', and 'New here? Create an account'. Errors: field errors (Field) with focus on the first wrong field; wrong credentials (demo: the password 'wrongpass') show a jagged accent box with a '!' mark that shakes, role=alert (G8). Success: an accent Stamp and an 'Enter your code' button for the second step. Links call onNavigate and never navigate. One column on phones with 44px touch targets; container queries widen it. Works in light, dark, any accent and with Radix or Base UI.

pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/sign-in.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • cn
  • lucide-react
@components/manga/blocks/sign-in.tsx