dealhub/resources/views/components/ui/toggle-button.blade.php
kusowl 985dd967e4 feature(search deals)
- make deals reachable
- add recent search feature
- add animation in profile menu
- refactor blade markup of explore page
2026-01-20 18:43:13 +05:30

9 lines
295 B
PHP

@props(['active' => false])
@aware(['activeColor' => 'bg-white'])
<div
{{$attributes}}
{{$attributes->class(["rounded-full hover:bg-gray-100 hover:border-gray-300 border border-transparent transition-colors duration-300 ease-in-out", $activeColor => $active])}}
>
{{ $slot }}
</div>