lion/docs/components/input-email/overview.md
Pavlik Kiselev 11bbc5fff5
feat: migrated the navigation metadata from inline MD title decorations to frontmatter
* feat: migrated the navigation metadata from inline MD title decorations to frontmatter

* fix: fixed frontmatter metadate for api-table MDs

* fix: fixed frontmatter eslint issue
2025-03-19 10:08:22 +01:00

958 B

parts title eleventyNavigation
Input Email
Overview
Input Email: Overview
key order parent title
Input Email: Overview 10 Input Email Overview

Input Email: Overview

A web component based on the generic text input field. Its purpose is to provide a way for users to fill in an email.

import { html } from '@mdjs/mdjs-preview';
import '@lion/ui/define/lion-input-email.js';
export const main = () => {
  return html` <lion-input-email label="Email" name="email"></lion-input-email> `;
};

Features

  • Based on our input
  • Makes use of email validators with corresponding error messages in different languages
    • IsEmail (default)

Installation

npm i --save @lion/ui
import { LionInputEmail } from '@lion/ui/input-email.js';
// or
import '@lion/ui/define/lion-input-email.js';