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:
21
resources/views/flux/chart/legend/index.blade.php
Normal file
21
resources/views/flux/chart/legend/index.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
@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']) }}>
|
||||
{{ $slot }}
|
||||
|
||||
@if (is_string($label) && $label !== '')
|
||||
<div class="text-xs text-zinc-500 dark:text-zinc-400">{{ $label }}</div>
|
||||
@elseif ($label)
|
||||
{{ $label }}
|
||||
@endif
|
||||
</div>
|
||||
Reference in New Issue
Block a user