EmailInput
An email address: the right keyboard on phones, no spelling fixes, and the browser can fill it.
import { EmailInput } from '@sypnia/ui/react'
On this page
Work email
Code
import { EmailInput, Field } from '@sypnia/ui/react';
// The email keyboard on phones, no spelling fixes, and the browser can fill it.
export default function Invite() {
return <Field label="Work email"><EmailInput placeholder="ana@northwind.io" /></Field>;
} When to use it
Use it when
- Sign-up, invitations, contact.
Do not use it when
- Several addresses: use TagInput.
For everyone
autocomplete="email"lets the browser fill it.
Props
| EmailInput | Type | Default |
|---|---|---|
size | "sm" | "md" | "lg" |