🎨 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,23 @@
@blaze
@props([
'selected' => false,
'name' => null,
])
@php
$classes = Flux::classes()
->add('[&:not([data-selected])]:hidden [:where(&)]:pt-8')
;
if ($name) {
$attributes = $attributes->merge([
'name' => $name,
'wire:key' => $name,
]);
}
@endphp
<div {{ $attributes->class($classes)->merge(['data-selected' => $selected]) }} data-flux-tab-panel>
{{ $slot }}
</div>