1.0.27 • Published 4 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
4 years ago
1.0.26
4 years ago
1.0.25
4 years ago
1.0.24
4 years ago
1.0.23
4 years ago
1.0.22
4 years ago
1.0.21
4 years ago
1.0.20
4 years ago
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago