Portal UI

Label

Renders an accessible label associated with controls.

<div class="flex items-center space-x-2">
    <x-portal::checkbox id="terms" />
    <x-portal::label htmlFor="terms">Accept terms and conditions</x-portal::label>
</div>

Publishing Component

If you want to customize the components, you can publish them by running the following command :

php artisan vendor:publish --tag=portal-ui:label --force