<!-- resources/views/components/sidebar/dropdown.blade.php -->
<div class="relative">
    <!-- Button (Main dropdown trigger) -->
    <button class="flex items-center w-full px-6 py-2 mt-4 text-gray-700 rounded">
        <svg class="w-5 h-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="<?php echo e($icon ?? ''); ?>" />
        </svg>
        <span class="mx-3"><?php echo e($label); ?></span>
    </button>

    <!-- Dropdown Menu -->
    <div class="absolute w-full mt-2 bg-white rounded shadow-lg">
        <ul class="py-2">
            <?php echo e($slot); ?>

        </ul>
    </div>
</div>
<?php /**PATH C:\xampp8.2\htdocs\Portal\resources\views/components/sidebar/dropdown.blade.php ENDPATH**/ ?>