{{-- Navigation bar dropdown. The panel is teleported to and positioned under the trigger, because the bar's link container clips overflow (overflow-hidden). Expects: $label, $active (bool); the slot holds items. --}} @props(['label', 'active' => false]) @php $classes = $active ? 'inline-flex items-center px-1 pt-1 border-theme-muted text-xs md:text-sm font-medium leading-5 text-theme-primary hover:text-theme-secondary focus:outline-none whitespace-nowrap' : 'inline-flex items-center px-1 pt-1 border-transparent text-xs md:text-sm font-medium leading-5 text-theme-primary hover:text-theme-secondary hover:border-theme-border focus:outline-none focus:text-theme-primary transition whitespace-nowrap'; @endphp