Radio

Radios are used to collect a single option from a list of options.


/* checkbox-example.blade.php */

<div class="space-y-1">
<x-radio content="Public" name="visibility" id="visibility-public" />
<x-radio content="Private" name="visibility" id="visibility-private" />
</div>

Component API

Prop Description Values
as Change the element tag of the component any
content Set the content of the component any
size Change the font size of the component Dependant on theme
color Change the color of the component Dependant on theme