8-bit Login Form with Image
A static 8-bit styled login form that pairs email and password fields with social sign-in buttons, account links, and a side image. The exported `LoginForm` accepts standard div props, but its form content and image are fixed in the component source.


Installed with shadcn add · 1 workaround · theme from the install docs
- applied the registry's theme (tokens, fonts and CSS from the registry preview settings)
Installation
pnpm dlx shadcn@latest add @8bitcn/login-form-with-image
Requires @8bitcn in the registries of your components.json (shadcn adds official directory namespaces automatically).
Usage
usage.tsx
import { LoginForm } from "@/components/ui/8bit/blocks/login-form-with-image";export default function LoginPage() { return <LoginForm className="mx-auto max-w-4xl" />;}- Use as a ready-made login screen for a site or app with a retro, pixel-art visual direction.
- Use when a sign-in page should include email/password fields alongside Apple, Google, and Meta sign-in entry points.
- Use when a desktop login layout benefits from a decorative image panel that is hidden on smaller screens.
- Treat it as a static UI starting point: wire up authentication, social sign-in, and destination links in your application.
API reference
PropTypeDefaultDescription
classNamestring—Optional class name applied to the outer div and combined with its existing layout classes.
...propsReact.ComponentProps<"div">—All other standard div props are accepted and spread onto the outer wrapper.
Accessibility
- The email and password inputs have associated labels through matching `htmlFor` and `id` values, and both inputs are marked required.
- The Apple, Google, and Meta icon buttons each include screen-reader-only text naming the sign-in provider.
- The image has the alt text “Image”; replace it with descriptive text if the image conveys meaningful content, or use empty alt text if it is decorative.
- The forgot-password, sign-up, terms, and privacy links use `href="#"` placeholders and need real destinations.
- The form has no submit handler or action in the component source; connect it to your authentication flow.
Docs written by openai:gpt-6-luna from the registry source.
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
prompt.md
Use the "8-bit Login Form with Image" component (8bitcn/login-form-with-image) from its shadcn registry.1. Install it with: npx shadcn@latest add @8bitcn/login-form-with-image2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: className, ...props.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { LoginForm } from "@/components/ui/8bit/blocks/login-form-with-image";export default function LoginPage() { return <LoginForm className="mx-auto max-w-4xl" />;}```Files & dependencies
- components/ui/8bit/blocks/login-form-with-image.tsx→ components/ui/8bit/blocks/login-form-with-image.tsx
- components/ui/8bit/button.tsx→ components/ui/8bit/button.tsx
- components/ui/8bit/card.tsx→ components/ui/8bit/card.tsx
- components/ui/8bit/input.tsx→ components/ui/8bit/input.tsx
- components/ui/8bit/label.tsx→ components/ui/8bit/label.tsx
- components/ui/8bit/styles/retro.css→ components/ui/8bit/styles/retro.css
registryDependenciesbuttoncardinputlabel







