@props(['name', 'label', 'checked' => false])

<label class="flex items-center gap-2 text-sm">
    <input type="hidden" name="{{ $name }}" value="0">
    <input type="checkbox" name="{{ $name }}" value="1" @checked($checked) class="rounded border-slate-300">
    {{ $label }}
</label>
