Render a custom-styled radio button with optional label. To display the label you may either provide a simple string via the label property or custom markup via the label slot (see example code below). Link the label to the radio button by providing an id.
'name', // inheritable 'label' => false, 'invalid' => false,
<x-radioButton label="Video killed the radio button" id="sample-id-1" /> <x-radioButton id="sample-id-2"> <x-slot:label> Radio ga ga <span class="text-text-subtle">(goo goo, blah blah)</span> </x-slot> </x-radioButton>