About
A radio input with a label, error text, and disabled state styled like a native GTK3 desktop toolkit control, for use in Tauri/Electron apps or radio groups needing that native desktop look.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds GTK Radio Button to your project and fits it to your theme.
Code
How GTK Radio Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import WtkRadio from "@/components/ui/wtk-radio";
export default function DisabledWtkRadioDemo() {
return (
<div className="flex items-center gap-6">
<WtkRadio
name="demo-align-disabled"
value="left"
label="Left"
defaultChecked
disabled
/>
<WtkRadio
name="demo-align-disabled"
value="center"
label="Center"
disabled
/>
</div>
);
}










