@props(['sticky' => false, 'position' => '0']) @php $classes = 'px-4 py-3 text-gray-900 dark:text-gray-100'; if ($sticky) { $classes .= ' sticky z-10 bg-white dark:bg-gray-800'; $classes .= ' left-' . $position; } @endphp