1. Components
  2. radio

Radio

Input group for choosing a single option from a predefined list.

Demo

<div class="flex flex-col gap-3">
    <x-ui.radio name="radio_demo" id="def_radio_check" label="Default Radio(selected)" checked/>
    <x-ui.radio name="radio_demo" id="def_radio" label="Example 2"/>
</div>

Installation

Shell
flexi-cli add radio

Disabled

<div class="flex flex-col gap-3">
    <x-ui.radio disabled id="def_radio_check_demo" label="Default Radio(selected)" checked/>
    <x-ui.radio disabled id="def_radio_demo" label="Example 2"/>
</div>