{{-- Lucide-based inline icon. Usage:
Replaces Bootstrap Icons in storefront templates. Unknown names emit nothing. --}}
@props(['name', 'stroke' => 2])
@php
$name = strtolower(trim($name ?? ''));
// Lucide SVG path fragments. Each entry is the inner markup rendered inside
// a 24x24 viewBox. Add new icons here — names mirror Lucide conventions.
$paths = [
// Navigation / chrome
'menu' => '',
'x' => '',
'x-lg' => '',
'chevron-down' => '',
'chevron-up' => '',
'chevron-left' => '',
'chevron-right' => '',
'arrow-right' => '',
'arrow-left' => '',
'arrow-up' => '',
'arrow-down' => '',
// Commerce
'cart' => '',
'cart-check' => '',
'bag' => '',
'package' => '',
'tag' => '',
'receipt' => '',
'credit-card' => '',
'wallet' => '',
'cash' => '',
'ticket' => '',
// User / auth
'user' => '',
'user-plus' => '',
'log-in' => '',
'log-out' => '',
// UI
'search' => '',
'sun' => '',
'moon' => '',
'globe' => '',
'check' => '',
'check-circle' => '',
'info' => '',
'alert' => '',
'alert-circle' => '',
'bell' => '',
'trash' => '',
'edit' => '',
'plus' => '',
'minus' => '',
'home' => '',
'grid' => '',
'list' => '',
'filter' => '',
'sliders' => '',
'eye' => '',
'eye-off' => '',
'heart' => '',
'star' => '',
'star-fill' => '',
'image' => '',
'camera' => '',
'copy' => '',
'printer' => '',
'zoom-in' => '',
'link' => '',
'external' => '',
// Commerce-adjacent
'lightning' => '',
'shield-check' => '',
'truck' => '',
'clock' => '',
'map-pin' => '',
'phone' => '',
'mail' => '',
'send' => '',
'message' => '',
// Social
'facebook' => '',
'instagram' => '',
'twitter' => '',
'twitter-x' => '',
'youtube' => '',
'linkedin' => '',
'github' => '',
'whatsapp' => '',
'tiktok' => '',
'telegram' => '',
'discord' => '',
'pinterest' => '',
'snapchat' => '',
'reddit' => '',
// Misc
'spinner' => '',
'refresh' => '',
'more' => '',
];
$d = $paths[$name] ?? null;
@endphp
@if ($d)
@endif