{{--
User Result Item Component
A specialized search result item for displaying users.
@props
- user: User - The user model
- animationDelay: int - Animation delay in ms - default: 0
- showEmail: bool - Show email badge - default: true
- showDate: bool - Show creation date - default: true
- external: bool - Show external link - default: true
@example
--}}
@props([
'user',
'animationDelay' => 0,
'showEmail' => true,
'showDate' => true,
'external' => true,
])
@php
$userUrl = $user->full_url ?? route('users.detail', $user);
@endphp
@if($showEmail && $user->email)
{{ Str::limit($user->email, 18) }}
@endif
@if($showDate && $user->created_at)
@endif
{{ $slot }}