🎨 Add new Flux icons: implement multiple reusable icon components (e.g., hand-raised, hand-thumb-up, heart, hashtag, home) with variant support for improved UI consistency.

This commit is contained in:
HolgerHatGarKeineNode
2026-01-23 23:00:02 +01:00
parent 578e4f13fc
commit b30fec150c
792 changed files with 307541 additions and 117 deletions

View File

@@ -0,0 +1,27 @@
@blaze
@props([
'label' => null,
'field' => null,
'format' => null,
])
@php
$format = is_array($format) ? \Illuminate\Support\Js::encode($format) : $format;
@endphp
<div {{ $attributes->class(['flex items-center gap-2 p-2 text-xs [:where(&)]:text-zinc-500 dark:[:where(&)]:text-zinc-300']) }}>
{{ $slot }}
@if (is_string($label) && $label !== '')
<div class="text-zinc-800 dark:text-white">{{ $label }}</div>
@elseif ($label)
{{ $label }}
@endif
@if ($field)
<div class="flex-1"></div>
<slot field="{{ $field }}" @if ($format) format="{{ $format }}" @endif></slot>
@endif
</div>