{{-- A channel-tag chip coloured per tag (App\Models\Link::tagColor). Slot = extra content after the tag. --}} @props(['src']) @php($color = \App\Models\Link::tagColor($src)) class('inline-flex items-center gap-1.5 rounded px-2 py-0.5 text-xs') }} @if ($color) style="background-color: {{ $color }}1a; color: {{ $color }}" @else style="background-color: #f3f4f6; color: #4b5563" @endif> {{ $src }}{{ $slot }}