@unless (count($users) == 0)
{{-- Title --}}

Users

{{-- Live Search Bar --}}
{{-- 🟢 This is the key: wire:model.live updates the Livewire property --}} {{-- Optional: You can remove this button if search updates automatically --}}
{{-- placeholder --}}
@foreach ($users as $user) @endforeach
Name Phone Number
{{ Str::title($user->first_name) }} {{ Str::title($user->last_name) }} {{ $user->phone_number }}
{{ $users->onEachSide(1)->links('vendor.pagination.tailwind') }}
@else

No Record Found

@endunless