You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@prof-dev/input

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prof-dev/input

Material input

1.0.7
latest
Source
npm
Version published
Weekly downloads
6
100%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 13 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts