About
Works like a native radio button with value passed to the form on submission, in controlled or uncontrolled mode. Comes in three sizes, supports error and disabled states, and a RadioGroup compound for exclusive selection with any layout, FormControl group labels and card-based composition.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Reshaped Radio to your project and fits it to your theme.
Code
How Reshaped Radio is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Reshaped } from "reshaped/bundle";
import Radio from "@/components/ui/reshaped-radio";
export default function Demo() {
return (
<Reshaped theme="slate">
<div style={{ margin: "0 auto", padding: 24, display: "flex", justifyContent: "center" }}>
<Radio hasError name="animalError" value="dog">
Dog
</Radio>
</div>
</Reshaped>
);
}
















