@props(['label' => null])

<div {{$attributes->class("relative pt-4 pb-2 border-t border-gray-400")}}>
    @if($label)
        <div class="absolute -top-3 left-2 bg-white px-2 text-gray-600">{{$label}}</div>
    @endif
    {{$slot}}
</div>
