Skip to content

RadioButton

RadioButton is a widget that provides a native radio button widget with a text label that you can use in your application.

Example

example_radio.tsx
import { RadioButton } from '@vixen-js/core-react';
export function RadioButtonExample() {
const onToggle = (checked: boolean) => {
console.log("Radio button toggled value: ", checked)
};
return (
<RadioButton
text="Your radio button"
onToggle={onToggle} />
);
}

Learn more about RadioButton