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:
23
resources/views/flux/accordion/content.blade.php
Normal file
23
resources/views/flux/accordion/content.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
@aware([ 'transition', 'expanded' ])
|
||||
|
||||
@props([
|
||||
'transition' => false,
|
||||
'expanded' => false,
|
||||
])
|
||||
|
||||
@php
|
||||
$classes = Flux::classes()
|
||||
->add('pt-2 text-sm text-zinc-500 dark:text-zinc-300')
|
||||
;
|
||||
@endphp
|
||||
|
||||
<div
|
||||
x-show="open"
|
||||
@if ($transition) x-collapse @endif
|
||||
@if (! $expanded) x-cloak @endif
|
||||
data-flux-accordion-content
|
||||
>
|
||||
<div {{ $attributes->class($classes) }}>
|
||||
{{ $slot }}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user