Form
Input
The input component is a user interface element that allows the user to enter and submit data to an application or website.
<x-input placeholder="Input field" />
Usage
<div class="mx-auto max-w-sm space-y-4">
<x-input.group>
<x-input.label for="first_name">
First name
</x-input.label>
<x-input id="first_name" placeholder="First name" />
</x-input.group>
<x-input.group id="last_name" label="Last name">
<x-input placeholder="Last name" />
</x-input.group>
</div>