= c8e950bb79 feature: add user assignments component
- add title, placeholder and subtitle in avatar component
- add role collection in users dto
- make show empty text on table by default
2026-05-11 09:44:59 +00:00

19 lines
525 B
PHP

@props(['placeholder', 'title', 'subtitle'])
<div class="flex space-x-2 items-center">
<span {{$attributes->twMerge(['class' => 'bg-blue-300 text-blue-800 w-8 h-8 border border-white rounded-full flex items-center justify-center'])}}>
@isset($placeholder)
@initials($placeholder)
@endisset
</span>
<div class="flex flex-col">
@isset($title)
<p class="font-semibold">
{{$title}}
</p>
@endisset
@isset($subtitle)
{{$subtitle}}
@endisset
</div>
</div>