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:
14
resources/views/flux/icon/index.blade.php
Normal file
14
resources/views/flux/icon/index.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
@blaze
|
||||
|
||||
{{-- Credit: Heroicons (https://heroicons.com) --}}
|
||||
|
||||
@props([
|
||||
'icon' => null,
|
||||
'name' => null,
|
||||
])
|
||||
|
||||
@php
|
||||
$icon = $name ?? $icon;
|
||||
@endphp
|
||||
|
||||
<flux:delegate-component :component="'icon.' . $icon">{{ $slot }}</flux:delegate-component>
|
||||
Reference in New Issue
Block a user