Label

Renders an accessible label associated with controls.

Component Code
<div class="flex items-center space-x-2">
<april:input id="accept" type="checkbox" />
<april:label for="accept">Accept terms and conditions</april:label>
</div>

Publishing Views

Use the following command to publish this view:

php artisan april:publish label
April UI keeps package views in `vendor/` by default. The command uses Laravel's vendor publishing system and copies overrides to `resources/views/vendor/april/components`. To publish all components, run:
php artisan april:publish --all
Review local overrides after an upgrade with `php artisan april:update --diff`.