Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

wired-input

v1.0.0arrow_drop_down
v1.0.0
v0.9.2
STATUS
Passing
DOWNLOADS
8
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 months ago
SIZE
12 KB
subject
Hand-drawn sketchy text input web component.
1 contributor
Use wired-input in your project ?
Copied
npm i @bit/wiredjs.wired-elements.wired-input
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
revert changes
reload
toggle layout
maximize
modifieddraft
modifieddraft
chevron_left
chevron_right

wired input

wired-input

Hand-drawn sketchy text input web component.

For demo and view the complete set of wired-elememts: wiredjs.com

Usage

Add wired-input to your project:

npm i wired-input

Import wired-input definition into your HTML page:

<script type="module" src="wired-input/lib/wired-input.js"></script>

Or into your module script:

import { WiredInput } from "wired-input"

Use it in your web page:

<wired-input></wired-input>
<wired-input placeholder="Enter name"></wired-input>
<wired-input type="password" placeholder="Password"></wired-input>
<wired-input placeholder="Disabled" disabled></wired-input>

Properties

placeholder - Placeholder text for the input.

disabled - disables the control

type - Input type e.g. password

value - Value of the text.

Events

Fires all events a standard <input> element fires.

License

MIT License © Preet Shihn