@mp-lb/shad

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.json

Confirm your code

Check that this code matches the one in your terminal. Only approve a request you started.
A
B
C
D
E
1
2
3
4
5

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.