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 WtkRadioErrorDemo() {
return (
<div className="flex items-center gap-6">
<WtkRadio
name="demo-plan"
value="free"
label="Pick a plan"
error="A selection is required"
/>
</div>
);
}










![Form [react-aria-components]](https://cdn.21st.dev/cdn-cgi/image/fit=scale-down,width=640,quality=75,format=webp/https://cdn.21st.dev/user_jolbol1/field/814/preview.png)