🎨 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([
'name' => $attributes->whereStartsWith('wire:model')->first(),
])
@php
$classes = Flux::classes()
// NOTE: We need to add relative positioning here to prevent odd overflow behaviors because of
// "sr-only": https://github.com/tailwindlabs/tailwindcss/discussions/12429
->add('relative')
// The below reverts styles added by Tailwind Forms plugin
->add('border-0 p-0 bg-transparent')
;
@endphp
<flux:with-field :$attributes :$name>
<ui-file-upload
{{ $attributes->class($classes) }}
@if($name) name="{{ $name }}" @endif
data-flux-file-upload
>
<input type="file" wire:ignore data-slot="receiver" class="sr-only" @if($name) name="{{ $name }}" @endif />
{{ $slot }}
</ui-file-upload>
</flux:with-field>