mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
🎨 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:
18
resources/views/flux/input/expandable.blade.php
Normal file
18
resources/views/flux/input/expandable.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
@blaze
|
||||
|
||||
@php
|
||||
$attributes = $attributes->merge([
|
||||
'variant' => 'subtle',
|
||||
'class' => '-me-1',
|
||||
'square' => true,
|
||||
'size' => null,
|
||||
]);
|
||||
@endphp
|
||||
|
||||
<flux:button
|
||||
:$attributes
|
||||
:size="$size === 'sm' || $size === 'xs' ? 'xs' : 'sm'"
|
||||
x-on:click="$el.closest('[data-flux-input]').querySelector('input').value = ''"
|
||||
>
|
||||
<flux:icon.chevron-down variant="micro" />
|
||||
</flux:button>
|
||||
Reference in New Issue
Block a user