Skip to Content
🎉 Coral x Panda has been released 🎉 Read the Migration Guide

LoginEmailInput

LoginEmailInput is a sub-component of the Login organism.

It is used to allow the user to enter their email.

Basic Usage

import { Login, LoginEmailInput } from '@krakentech/coral-organisms'; import { Formik, Form } from 'formik'; <Login> <Formik initialValues={{ email: '' }} onSubmit={(values) => console.log(values)} > <Form method="post" style={{ width: '100%' }}> <LoginEmailInput label="Email address" /> </Form> </Formik> </Login>;

Full API

NameTypeDefault
labelstring

The label for the Email address input

inputPropsOmit<InputHTMLAttributes<HTMLInputElement>, "className" | "style"> | undefined
Last updated on