Skip to content

Radio

const Radio: React.ForwardRefExoticComponent<
Pick<ChakraRadioGroup.ItemProps, "children" | "value" | "defaultChecked"> &
ThemeStyleProps & {
id?: string;
isDisabled?: boolean;
isInvalid?: boolean;
name?: string;
} & React.RefAttributes<HTMLInputElement>
>;

Radio component is used in forms when a user needs to select a single value from several options.

Docs https://caspeco.github.io/casper-ui-library/components/radio