{note} You're browsing the documentation for an old version of laravel-form-components. Consider upgrading your project to v7.



The email component offers an easy way to set up an email input field for your forms. By simply setting its name attribute it also automatically sets your id and makes sure old values are respected.

Basic Usage

The most basic usage of the component is like this:

<x-email name="email" />

By default an email type will be set for the input field as well as an id that allows it to be easily referenced by a label element.

Besides this, the email element behaves exactly the same as the input component.

← Previous Topic


Next Topic →

Checkbox Group

Caught a mistake? Suggest an edit on Github