@props([
    'class'   => '',   // extra CSS classes
    'name'    => '',   // input name
    'value'   => '',   // input value
    'style'   => '',   // raw style string
    'checked' => false // true/false or truthy value
])

<input type="checkbox"
       name="{{ $name }}"
       value="{{ $value }}"
       {{ $attributes->class($class) }}
       @if($style !== '') style="{{ $style }}" @endif
       @checked($checked) />
