@prof-dev/input
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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();

/@prof-dev/input/

    Package Sidebar

    Install

    npm i @prof-dev/input

    Weekly Downloads

    6

    Version

    1.0.7

    License

    ISC

    Unpacked Size

    26.1 kB

    Total Files

    9

    Last publish

    Collaborators

    • profesor08