Login blocks for every framework.
100 login sections for React, Vue, Svelte and Solid, ready to paste into a page. Login sections: sign-in, sign-up, passwordless, two-factor and recovery screens. Try each one right here.
Every login block
100 blocks.
Account Locked LoginRecovery and resetA locked-account page for a point-of-sale system that draws the lockout ladder, marks the rung the account is on with a fixed unlock time, and offers an unlock link by email or a password reset.
Alert Banner LoginCentered formA full-height sign-in page for a database host with a maintenance notice pinned above the form: a quiet alert with the window in UTC, a Details popover and a Dismiss that never moves the form.
App Download LoginSplit with a panelA reverse split sign-in page for a running tracker: a real QR code of a download link with an iOS and Android switch that re-encodes it, a copyable link, and the sign-in form beside it. On a phone the code gives way to a Get the app link.
Avatar Preview LoginAccount choosersA full-height sign-in page for a family organizer where a large avatar builds from the email as you type, a typed demo account shows its name, and Enter takes you to the password.
Backup Code LoginCodes and approvalsA sign-in step that takes one of eight single-use backup codes: the field adds the dash as you type, a saved sheet strikes spent codes through, and signing in offers new codes behind an alert dialog.
Benefits Accordion LoginSplit with a panelA split sign-in page for a freelancer back office: the form with Remember me beside five benefits as an accordion, one open at a time and the first open to start, with ruled rows.
Biometric Auth LoginBiometrics and keysA health app's sign-in page built around a press-and-hold fingerprint pad: hold it for two seconds to match, let go early and it says so, or press Scan if you cannot hold.
Captcha Verification LoginRisk checksA sign-in page with a human check that never shows a picture: one checkbox that runs a short Checking beat and verifies, escalating to a typed question when the demo switch says the connection looks suspicious.
Centered Sign In LoginCentered formA full-height sign-in page for a team chat app: the product's mark, Google and GitHub rows with lettermark tiles, an or rule, email and password checked on submit, and one Sign in button with a simulated wait and its result.
Command Palette LoginSSO and providersA sign-in shown as a command palette over a drawn sign-in page: Email and password, GitHub, Google, SSO and Magic link on the keys 1 to 5, plus Create account and Reset password, filtered as you type.
Compact Inline Sign In LoginCentered formA sign-in strip as a panel: a short header over one framed row with the product's mark, an email, a password and a Sign in button, which stack below 1024 px and swap for a row of the same height once signed in.
Cookie Consent LoginSign-up and consentA bakery subscription's cookie choices shown open over a drawn sign-in page: Essential locked on, Analytics and Marketing switches that start off, and three equal buttons, Reject all, Accept all and Save choices.
Or describe it. With Pro, your AI agent picks the block you describe and installs it on your stack.
Get ProPricing
Every login block, one prompt away, with Pro
Your AI agent installs any of the 100 login blocks, and every component, example and icon, with every Pro plan.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
Answers on the 100 login blocks: what they are, how to customize and install them, the license and your AI agent.
The 100 login blocks are sign-in and sign-up screens: email and password, social and SSO providers, passwordless, two-factor, passkeys, recovery and device checks. They are UI and state only: nothing is signed in and no session is kept, and each result says so.
They are grouped into 16 kinds: Centered form, Split with a panel, Social proof, Step by step, SSO and providers, Passwordless, and more. The later groups cover security steps such as risk checks, sessions and devices, network rules and workspace choice.
Centered Sign In Login is the classic form with Google and GitHub rows. Social Buttons Login leads with providers and a Last used badge. Magic Link Login and Passkey Login drop the password. Two-Factor Authenticator Login and OTP Verification Login handle codes. Enterprise SSO Login and SAML Redirect Login are for company sign-in. Forgot Password Login is the recovery page.
A comment describes the page, then typed constants hold the product name, providers and copy, a small function checks the fields, and the component renders them with the shared Field, Input and Button. The provider logos are lettermark placeholders.
The submit handler checks the fields, then waits a moment. A comment in it says to send the email and password to your auth endpoint there. Call your auth library's sign-in function (Auth.js, Better Auth, Clerk, Supabase or your own API), and turn its error into the form's error state or the signed-in result.
A provider row sets a state that says where a real one would go. A comment there says a real row redirects to the provider (OAuth or OpenID Connect) and back, so call your library's social sign-in with the provider id. Replace the lettermark tile with the provider's official logo, under its brand terms.
Each field is checked by a function that returns a message per field, such as Enter your email address. Messages show under the field, focus goes to the first problem, and the demo's result is announced. Add rules to that function, or replace it with a schema, and keep the focus move.
Passkey Login shows a chooser and says no WebAuthn call is made. Where its comment says so, call navigator.credentials.get() to sign in, and navigator.credentials.create() on your registration page, with the challenge from your server.
Two-Factor Authenticator Login and OTP Verification Login check a typed demo code (OTP Verification Login counts tries and locks after the third). A comment marks where to send the code to your auth endpoint. Verify it there, set the wrong, locked or signed-in state from the response, and never keep the correct code in the client.
This page lists 100 of the category's 100 login blocks for React on Base UI. The category comes in React (Base UI, React Aria, Ark UI and Radix UI), Vue, Svelte and Solid; the framework and UI library pickers at the top of any block's page switch between them.
The login blocks here are written on Base UI primitives; the layout, the copy and the theme tokens are the same on every base, and the install path follows it (/r/login-account-locked.json). The other bases are one picker away from /login-block.
Each block is TypeScript and Tailwind CSS v4, styled with your theme's tokens, and imports our components (installed with it) on Base UI. Icons come from lucide-react.
Open a block, copy its command and run it: `npx shadcn@latest add` with the block's registry URL, such as /r/login-account-locked.json for Account Locked Login. The code is copied into your project and it's yours to edit.
The block's file and the components it imports: Account Locked Login brings Button, Guides and Shine Button, installed before it. Nothing else changes in your project.
Use the filters above the grid: 16 kinds of login block, led by sso and providers (10), centered form (9), split with a panel (9) and codes and approvals (8), and sort by popular or name. A good first look: Account Locked Login, Alert Banner Login and App Download Login. Each card opens the block's live page.
Every block draws the same page column and side rails with a top rule only (the Guides component), so a login block lines up with the one above and below it. Stack one per section and the rails read as a single drawing; pick across the layouts, sign-in methods and security kinds.
Open its page and use the full-screen viewer (/view/login/account-locked) or the device-width previews. Every preview is free for everyone; only the code needs Pro.
Each login block uses semantic HTML: one heading level, real lists and labelled controls. Interactive parts sit on Base UI, a headless library that follows the WAI-ARIA patterns, and the layouts use logical properties so they hold in right-to-left languages.
Yes. They use semantic tokens only (bg-card, text-muted-foreground), never palette colors, so they follow your preset, radius and dark mode. The primary color marks one action per block and is never a background.
No animation library: the login blocks' motion is CSS (transitions, entrance animations and SVG), and it stands still under prefers-reduced-motion.
The previews are free for everyone. The code of all 100 login blocks is Pro, as is every block: Pro unlocks the code, the install command and the MCP.
Only with a Team or Organization license: client work, SaaS products and anything your users pay for. The Individual license is for personal, non-commercial projects. See the license page for the full terms.
You keep using what you installed in your existing projects, but get no new downloads or updates, and the MCP stops answering. A Lifetime license includes all future updates.
No. You can use them in your own End Products, but not redistribute the code or designs on their own, or in a UI library, kit, template or website builder.
With Pro, yes: the MCP server (22 tools, one personal URL from /dashboard/mcp) lets your agent search_blocks for a login block, read it with get_block and install it on your React on Base UI stack.
Pass `category: "login"` to search_blocks to search only the 100 login blocks, or to list_blocks for the 16 groups with their blocks. get_block then returns one with its install command.
plan_page plans a page as a stack of blocks for a brief. Pass `sections` with category ids, such as ["hero", "login", "footer"], to force the order; each section gets a pick and two alternatives, and get_block installs the stack.
4.9 out of 5 from 150+ developers
Every login block. One prompt away.
100 login blocks with Pro, the previews free to try. With Pro, your AI agent installs them from a prompt.
Get Pro