@logo-elements/email-field
v23.0.0
Published
`<logo-elements-email-field>` is a Web Component for email field control in forms.
Downloads
79
Readme
@logo-elements/email-field
An extension of <logo-elements-text-field>
component that only accepts email addresses as input.
<logo-elements-email-field label="Email"></logo-elements-email-field>
Installation
Install the component:
npm i @logo-elements/email-field
Once installed, import the component in your application:
import '@logo-elements/email-field';
Themes
You can import the LEDS version of the component explicitly:
import '@logo-elements/email-field/theme/leds/logo-elements-email-field.js';
Finally, you can import the un-themed component from the src
folder to get a minimal starting point:
import '@logo-elements/email-field/src/logo-elements-email-field.js';