Skip to content

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
  1. Work email
  2. When to use it
  3. For everyone
  4. Props

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

EmailInputTypeDefault
size "sm" | "md" | "lg"
  1. Work email
  2. When to use it
  3. For everyone
  4. Props

    Search pages, sections and terms