From fd1348baaa801cdd002d1a25e5af7742db2fdaca Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Wed, 1 Oct 2025 20:37:50 +0700 Subject: [PATCH] feat(icon): publish flower-2 --- resources/views/flux/icon/flower-2.blade.php | 45 ++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 resources/views/flux/icon/flower-2.blade.php diff --git a/resources/views/flux/icon/flower-2.blade.php b/resources/views/flux/icon/flower-2.blade.php new file mode 100644 index 0000000..5f403ab --- /dev/null +++ b/resources/views/flux/icon/flower-2.blade.php @@ -0,0 +1,45 @@ +{{-- Credit: Lucide (https://lucide.dev) --}} + +@props([ + 'variant' => 'outline', +]) + +@php +if ($variant === 'solid') { + throw new \Exception('The "solid" variant is not supported in Lucide.'); +} + +$classes = Flux::classes('shrink-0') + ->add(match($variant) { + 'outline' => '[:where(&)]:size-6', + 'solid' => '[:where(&)]:size-6', + 'mini' => '[:where(&)]:size-5', + 'micro' => '[:where(&)]:size-4', + }); + +$strokeWidth = match ($variant) { + 'outline' => 2, + 'mini' => 2.25, + 'micro' => 2.5, +}; +@endphp + +class($classes) }} + data-flux-icon + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 24 24" + fill="none" + stroke="currentColor" + stroke-width="{{ $strokeWidth }}" + stroke-linecap="round" + stroke-linejoin="round" + aria-hidden="true" + data-slot="icon" +> + + + + + +