essence-input

1.0.13 • Public • Published

Essence Input - Input component

Options:

  • placeholder: string for a placeholder text
  • label: string for a label text which will float above the input when text is typed
  • hint: string for a hint text which will show below the input as an informative text
  • counter: integer for limit the input value length, also it will show the current / maximum value length
  • disabled: prop for disabling the input

NOTE: all props will be transferred from Input component

How to use

import Input from 'essence-input';
 
<Input name={'input'} placeholder='Standard input' classes={'has-success'}/>
<Input name={'input'} placeholder='Counter input' classes={'has-error'} counter={50}/>
<Input name={'input'} label='This label will float' classes={'has-success'}/>
<Input name={'input'} disabled={true} placeholder='Disabled input' classes={'has-success'}/>
<Input name={'textarea'} type={'textarea'} placeholder='Textarea' classes={'has-success'}/>

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.134latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.134
1.0.121
1.0.111
1.0.101
1.0.91
1.0.81
1.0.71
1.0.61
1.0.51
1.0.41
1.0.31
1.0.21
1.0.11
1.0.01
0.0.81
0.0.71
0.0.61
0.0.51
0.0.41
0.0.31
0.0.21
0.0.11

Package Sidebar

Install

npm i essence-input

Weekly Downloads

25

Version

1.0.13

License

MIT

Last publish

Collaborators

  • blogtools
  • essence_md
  • pearlventures