sls/resources/views/components/label.blade.php
kushal.saha 9f25fdd648 refactor: UI Layouts and components
Interview module is refactored to use layouts and re-usable components
along with domain components. Style remains identitical to previous
design.
2026-08-17 07:03:55 +00:00

11 lines
249 B
PHP

@props([
'required' => false,
])
<label {{ $attributes->merge(['class' => 'block text-xs font-medium text-slate-400 mb-1']) }}>
{{ $slot }}
@if($required)
<span class="text-red-500 font-bold ml-0.5">*</span>
@endif
</label>