OrcDev

8-bit Radio Group

Forms 10

About

Pixel-art radio group from 8bitcn.com — chunky pixel frame around each option, retro selected glyph. Native primitive rewrite, no Radix.

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

Code

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

Usage.tsx

"use client";

import { RadioGroup, RadioGroupItem } from "@/components/ui/8bit-radio-group";

export default function Default() {
  return (
    <div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden">
      <RadioGroup defaultValue="warrior" className="space-y-3">
        <div className="flex items-center gap-3">
          <RadioGroupItem value="warrior" id="r1" />
          <label htmlFor="r1" className="text-sm font-pixel cursor-pointer">Warrior</label>
        </div>
        <div className="flex items-center gap-3">
          <RadioGroupItem value="mage" id="r2" />
          <label htmlFor="r2" className="text-sm font-pixel cursor-pointer">Mage</label>
        </div>
        <div className="flex items-center gap-3">
          <RadioGroupItem value="rogue" id="r3" />
          <label htmlFor="r3" className="text-sm font-pixel cursor-pointer">Rogue</label>
        </div>
      </RadioGroup>
    </div>
  );
}

Dependencies

More by OrcDev

View all
  • 8bit CTA 1 — Comparison

    8bit CTA 1 — Comparison

    308
  • 8bit 404 Page

    8bit 404 Page

    181
  • 8bit Loading Screen

    8bit Loading Screen

    118
  • 8bit Changelog

    8bit Changelog

    80
  • 8-bit Stats Dashboard

    8-bit Stats Dashboard

    69
  • 8bit FAQ 2 — Card Grid

    8bit FAQ 2 — Card Grid

    68
  • 8-bit Login Form

    8-bit Login Form

    64
  • 8bit Timeline Horizontal

    8bit Timeline Horizontal

    62

More in Forms

View all
  • Premium Auth

    Premium Auth

    593
  • Contact Form

    Contact Form

    28
  • Form

    Form

    4
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    94
  • Contact Card

    Contact Card

    1.1K
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form [react-aria-components]

    Form [react-aria-components]

    19