@props([ 'name', 'label', 'checked' => false, 'value' => 1, 'hint' => null, ]) @php $isChecked = old($name, $checked); $id = $attributes->get('id') ?? $name; @endphp except(['id'])->merge(['class' => 'mt-0.5 h-4 w-4 rounded border-slate-300 text-brand-600 focus:ring-brand-500']) }}> {{ $label }} @if ($hint) {{ $hint }} @endif @error($name)
{{ $message }}