OrcDev

8bit Difficulty Select

Buttons 13

About

An 8-bit styled game difficulty selection screen built on the retro card and button primitives. Renders a titled card (Select Difficulty) with EASY / NORMAL / HARD pixel-font buttons; clicking one highlights it as the active difficulty. Supports controlled and uncontrolled value, custom title/description, and vertical or horizontal layout.

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

Code

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

Usage.tsx

"use client";

import DifficultySelect from "@/components/ui/8bit-difficulty-select";

export default function Default() {
  return (
    <div className="flex w-full min-h-screen items-center justify-center bg-background p-8 retro">
      <DifficultySelect className="w-full max-w-[400px]" />
    </div>
  );
}

Dependencies