{{-- Reusable image cropper component. Props: $name — hidden input name that receives the base64 data URI (default: 'photo_data') $preview — current image URL to show as preview (default: '') $initials — fallback initials letter if no preview (default: '?') $label — button label (default: 'Change photo') $hint — hint text below button --}} @props([ 'name' => 'photo_data', 'preview' => '', 'initials' => '?', 'label' => 'Change photo', 'hint' => 'JPG, PNG or WebP · max 4 MB', ])
{{ $hint }}