Skip to content

umarfarookm/material-ui-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

material-ui-input

Simple and styled input - like material ui input text

In HTML5, you can have a text input field Please see the styled input component as below,

Install

$ npm install material-ui-input --save

Demo

Usage

Step 1:

<div class="material-ui-input"></div>

Step 2:

$('.material-ui-input').materialUiInput()

You can get the input value like this

$('.material-ui-input').getInputValue()

Props

Property Value
label string
required boolean

Examples

Example 1: <div class="material-ui-input"></div>

Example 2: <div class="material-ui-input" label="First Name" required="true"></div>

Note:

Please include the jquery in your html

npm i jquery

or 

<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>

About

Simple and styled input - like material ui input text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published