---
title: "Email field"
description: "Use the email field to allow a user to input a valid email."
sidebar_label: "Email field"
slug: /reference/components/email-field
---

import ComponentDemo from '@site/src/components/ComponentDemo';

# Email field

Use the email field to allow a user to input a valid email.

**Package:** `@terreno/ui`  
**Categories:** Component  
**Props interface:** `EmailFieldProps`  
**Story source:** [`demo/stories/Emailfield.stories.tsx`](https://github.com/flourishhealth/terreno/blob/master/demo/stories/Emailfield.stories.tsx)

## Live demo

<ComponentDemo name="Email field" />

## Props

| Prop | Type | Required | Description |
| --- | --- | --- | --- |
| `onChange` | `OnChangeCallback` | Yes |  |
| `blurOnSubmit` | `boolean` |  |  |
| `disabled` | `boolean` |  |  |
| `errorText` | `string` |  |  |
| `helperText` | `string` |  |  |
| `iconName` | `IconName` |  |  |
| `id` | `string` |  |  |
| `onBlur` | `OnChangeCallback` |  |  |
| `onEnter` | `reflection` |  |  |
| `onFocus` | `reflection` |  |  |
| `onIconClick` | `reflection` |  |  |
| `onSubmitEditing` | `reflection` |  |  |
| `placeholder` | `string` |  |  |
| `testID` | `string` |  |  |
| `title` | `string` |  |  |
| `value` | `string` |  |  |
