<div><input type="radio" class="radio" name="my_name" id="my_name" checked value="" />

    <input type="radio" class="radio" name="my_name" id="my_name" checked value="" />

</div>
<div>
  @!jrmc.form.input({ type: 'radio', name: 'my_name', checked: true })
  @!jrmc.form.radio({ name: 'my_name', checked: true })
</div>
  • Handle: @radio-default
  • Preview:
  • Filesystem Path: fractal/components/03-form/02-radio/01-radio-default.edge

Radio

Doc : daisyui radio

Radio buttons allow the user to select one option from a set.

Class name Type
radio Component For radio input
radio-primary Modifier Adds primary color to radio
radio-secondary Modifier Adds secondary color to radio
radio-accent Modifier Adds accent color to radio
radio-lg Responsive Large radio
radio-md Responsive Medium radio(default)
radio-sm Responsive Small radio
radio-xs Responsive Extra small radio

Specific params

Param name Type
checked boolean default check
disabled boolean