Full-screen code entry
Confirm a CLI login with a prefilled code or enter one manually.
pnpm dlx shadcn@latest add https://shad.mp-lb.dev/r/full-screen-code-entry.jsonConfirm your code
Check that this code matches the one in your terminal. Only approve a request you started.
Pass the URL’s public user code into the controlled code prop after removing spaces and hyphens. Prefilling never submits: the user must click Approve. Use pending and error for request feedback. Your application handles authentication and server-side verification in onConfirm.