1.0.27 • Published 5 years ago
snb-react-input-type v1.0.27
React Text Input Plus
Input for text type inputs (ie: text, email, password, search, tel, month, week, date, time, etc)
A simple component for adding accessible inputs with animated labels.
Demo
Another Link to your awesome Demo
Code
<DualInput
type="text"
name="addTask"
role="textbox"
label="Add Task"
altType="search"
altName="searchTerm"
altRole="search"
altLabel="Search Tasks"
leftIcon={<BsPencil />}
leftAltIcon={<BsSearch />}
rightIcon={<RiAddLine />}
onChange={e => console.log(e.target.value)}
/>
<Input
type="text"
name="username"
role="textbox"
label="Name"
icon={<FaUser />}
onChange={e => console.log(e.target.value)}
/>
<Input
type="email"
name="email"
label="Email"
icon={<MdEmail />}
onChange={e => console.log(e.target.value)}
/>
<Input
type="password"
name="password"
label="Password"
icon={<RiLockPasswordFill />}
onChange={e => console.log(e.target.value)}
/>Download & Installation
$ npm i snb-react-input-type Contributing
Feel free to contribute.
Authors or Acknowledgments
- S.Barakat
License
This project is licensed under the MIT License
1.0.27
5 years ago
1.0.26
5 years ago
1.0.25
5 years ago
1.0.24
5 years ago
1.0.23
5 years ago
1.0.22
5 years ago
1.0.21
5 years ago
1.0.20
5 years ago
1.0.19
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago