Measured entry
shadcn-block-login-01
A centered, minimal login card shipped as a shadcn registry block with a route page and a separate React form component. It composes the shadcn Button, Card, Input, Label, and Field primitives, uses the cn utility and utility-class styling, and leaves authentication, recovery, signup, and Google login behavior to the host app.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 30.3 KB (95.7 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | none |
What the harness recorded
BARE BUILD
✗ Build failed in 28.58s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/blocks/login-01/components/login-form.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A sound starter for a standard login route, with clean mounting and no reported accessibility or overflow issues in the configured harness. It needs a shadcn-style setup and does not mount in a bare app because its shared utility and registry primitives are assumed. Authentication behavior still needs implementation.
Use it if
- You need a conventional email and password sign-in screen that can be wired to your existing authentication flow.
- Your app already uses shadcn components and utility-class styling, so the registry imports fit its structure.
- You want a compact card that adapts cleanly across narrow and wide layouts without a provider.
Skip it if
- You need a working authentication flow rather than a presentation layer with placeholder links and handlers.
- Your design system does not use shadcn primitives or utility classes and you do not want to recreate that foundation.
- Your sign-in experience requires identity selection, multifactor steps, passkeys, or validation states in the initial component.
Install
| Declared dependencies | radix-ui |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add the Button, Card, Input, Label, and Field primitives, the shared cn class-merging utility, compatible utility-class styling and theme tokens, and the required Radix package. Then rewrite the registry aliases to local paths and connect submit, recovery, signup, and provider login actions.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/shadcn-ui/uiAlternatives
Other published entries for the auth-form pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- meraki-auth-sign-in-card-with-side-imageminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 18.9KB
- Bare
- pass
- Prov
- NO
- shadcn-block-login-02minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 31.9KB
- Bare
- fail
- Prov
- NO
- shadcn-block-login-05minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 31.9KB
- Bare
- fail
- Prov
- NO
- 8bitcn-login-formskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 33.2KB
- Bare
- fail
- Prov
- NO
- 8bitcn-advanced3skeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 33.3KB
- Bare
- fail
- Prov
- NO
- tripled-social-login-button-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 33.7KB
- Bare
- fail
- Prov
- NO