@props([ 'disabled' => false, 'label' => null, 'checked' => false, 'name' => $attributes->get('name'), 'id' => $attributes->get('name'), 'offValue' => null, ]) @if($label) @if($offValue !== null) @endif merge(['class' => 'form-checkbox']) !!}> {{ $label }} @else merge(['class' => 'form-checkbox']) !!}> @endif