Label
Labels are used to describe form elements.
/* label-example.blade.php */
<x-label content="Full Name" />
Component API
Prop | Description | Values |
---|---|---|
as | Change the element tag of the component | any |
for | Change the for attribute of the component | any |
content | Change the content of the component | any |
size | Change the font size of the component | Dependant on theme |
color | Change the color of the component | Dependant on theme |
align | Change the alignment of the component | Dependant on theme |