OrcDev

8-bit Popover

Buttons 2

About

Pixel-art popover from 8bitcn.com — retro pixel border on floating panel. Wraps Radix Popover (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 Popover to your project and fits it to your theme.

Code

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

Usage.tsx

"use client";
import {
  Popover, PopoverTrigger, PopoverContent,
  Button, Input, Label,
} from "@/components/ui/8bit-popover";
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">
      <Popover>
        <PopoverTrigger asChild>
          <Button>Open Stats</Button>
        </PopoverTrigger>
        <PopoverContent className="w-72 px-5">
          <div className="grid gap-3">
            <div className="space-y-1">
              <h4 className="text-xs uppercase tracking-widest">Hero Stats</h4>
              <p className="text-[10px] text-muted-foreground">Adjust your loadout.</p>
            </div>
            <div className="grid gap-2">
              <Label htmlFor="hp">HP</Label>
              <Input id="hp" defaultValue="100" />
            </div>
          </div>
        </PopoverContent>
      </Popover>
    </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

    54
  • 8bit FAQ 3 Searchable

    8bit FAQ 3 Searchable

    53

More in Buttons

View all
  • Button

    Button

    4
  • App Store Button

    App Store Button

    453
  • Button

    Button

    47
  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    4
  • Texture Button

    Texture Button

    92
  • Split Button

    Split Button

    14
  • Button

    Button

    32