OrcDev

8-bit Dialog

Forms 2

About

Pixel-art dialog from 8bitcn.com — retro pixel border on modal panel. Wraps Radix Dialog (inlined via esbuild).

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds 8-bit Dialog to your project and fits it to your theme.

Code

How 8-bit Dialog is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import {
  Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter,
  Button, Input, Label,
} from "@/components/ui/8bit-dialog";
export default function Default() {
  return (
    <div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden font-pixel">
      <Dialog>
        <DialogTrigger asChild>
          <Button>Edit Hero</Button>
        </DialogTrigger>
        <DialogContent className="sm:max-w-md px-6">
          <DialogHeader className="px-0">
            <DialogTitle>Edit Profile</DialogTitle>
            <DialogDescription>Rename your hero and save.</DialogDescription>
          </DialogHeader>
          <div className="grid gap-4 py-4">
            <div className="grid gap-2">
              <Label htmlFor="name">Hero Name</Label>
              <Input id="name" defaultValue="Player One" />
            </div>
          </div>
          <DialogFooter className="px-0">
            <Button>Save</Button>
          </DialogFooter>
        </DialogContent>
      </Dialog>
    </div>
  );
}

More by OrcDev

View all
  • 8bit CTA 1 — Comparison

    8bit CTA 1 — Comparison

    295
  • 8bit 404 Page

    8bit 404 Page

    172
  • 8bit Loading Screen

    8bit Loading Screen

    104
  • 8bit Changelog

    8bit Changelog

    75
  • 8-bit Login Form

    8-bit Login Form

    59
  • 8bit FAQ 2 — Card Grid

    8bit FAQ 2 — Card Grid

    57
  • 8-bit Stats Dashboard

    8-bit Stats Dashboard

    55
  • 8bit Timeline Horizontal

    8bit Timeline Horizontal

    54

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    47
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Login Form

    Login Form

    6
  • Form

    Form

    16
  • Book A Demo 3

    Book A Demo 3

    83