@props([
'lines' => 3,
'type' => 'text',
])
@if($type === 'text')
{{-- Text skeleton - multiple lines with last line shorter --}}
merge(['class' => 'space-y-3']) }}>
@for($i = 0; $i < $lines; $i++)
@endfor
@elseif($type === 'card')
{{-- Card skeleton - image placeholder + text lines --}}
merge(['class' => 'space-y-4']) }}>
@elseif($type === 'avatar')
{{-- Avatar skeleton - circular placeholder --}}
@elseif($type === 'button')
{{-- Button skeleton --}}
@elseif($type === 'table-row')
{{-- Table row skeleton --}}
merge(['class' => 'flex items-center gap-4']) }}>
@endif