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:
16
resources/views/flux/menu/heading.blade.php
Normal file
16
resources/views/flux/menu/heading.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@blaze
|
||||
|
||||
@php
|
||||
$classes = Flux::classes([
|
||||
'p-2 pb-1 w-full',
|
||||
'flex items-center',
|
||||
'text-start text-xs font-medium',
|
||||
'text-zinc-500 font-medium dark:text-zinc-300',
|
||||
]);
|
||||
@endphp
|
||||
|
||||
<div {{ $attributes->class($classes) }} data-flux-menu-heading>
|
||||
<div class="w-7 hidden [[data-flux-menu]:has(>[data-flux-menu-item-has-icon])_&]:block"></div>
|
||||
|
||||
<div>{{ $slot }}</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user