{{-- Status pill (DESIGN.md Components > Status pills). The status only picks the colour; the word is the slot and always comes from the lang key the page uses today. Props: status (planned|running|done|stopped|neutral). Usage: {{ __('sendout.status.done') }} --}} @props(['status' => 'neutral']) @php $status = in_array($status, ['planned', 'running', 'done', 'stopped', 'neutral'], true) ? $status : 'neutral'; @endphp class(['nh-pill', 'nh-pill-'.$status]) }}>{{ $slot }}