sarat-asymmetrica

Hand-drawn Radio Group

Forms

About

A fieldset-based radio group whose native circles are overlaid with a seeded, hand-drawn pencil ring, ink circle and dot (or a kolam flower bloom), for forms that want a sketched, paper-like feel instead of flat UI controls. Ported to React from Susegad UI's sg-radio-group web component by Sarat Chandra Gnanamgari (MIT).

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

Code

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

Usage.tsx

import RadioGroup from "@/components/ui/radio";

export default function RadioGroupDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <RadioGroup
        name="guests"
        legend="Guests"
        defaultValue="2"
        options={[
          { value: "2", label: "2 guests" },
          { value: "4", label: "4 guests" },
          { value: "6", label: "6 guests" },
        ]}
      />
    </div>
  );
}

More by sarat-asymmetrica

View all
  • Toggle

    Toggle

  • Kolam &amp; Chai Progress

    Kolam &amp; Chai Progress

  • Hand-Inked Status Badge

    Hand-Inked Status Badge

  • File Drop

    File Drop

  • Field Note

    Field Note

More in Forms

View all
  • Premium Auth

    Premium Auth

    497
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    45
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Form

    Form

    16
  • Form

    Form

    136
  • Card Studio

    Card Studio

    41