Skip to content

Profesor08/input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Input

Install

npm install @prof-dev/input

Usage

<div class="input">
  <div class="input-container">
    <input class="input-field" type="email" name="email" />
    <div class="input-label">Email</div>
  </div>
</div>

<div class="input">
  <div class="input-container">
    <textarea class="input-field" rows="3" data-max-rows="7"></textarea>
    <div class="input-label">Textarea</div>
  </div>
</div>

<div class="input is-error is-active">
  <div class="input-container">
    <input
      class="input-field"
      type="email"
      name="email"
      value="value"
      required=""
    />
    <div class="input-label">Required with error &amp; value</div>
  </div>
  <div class="input-error">
    <div class="error-inner">Wrong value error message</div>
  </div>
</div>
import { Input } from "@prof-dev/input";

Input.initAllAvailableOnPage();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published