
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@hawk-ui/input
Advanced tools
$ npm install @hawk-ui/input --save
@import '/path__to__node_modules/@hawk-ui/input/dist/index.min.css
import Input from '@hawk-ui/input';
initialState = {
value: '',
};
<Input
type="text"
value={state.value}
onChange={(event) => {
setState({
value: event.target.value,
});
}}
onEnter={(value) => {
alert(value);
}}
placeholder="Enter Username"
description="This is user input"
/>
import Input from '@hawk-ui/input';
initialState = {
value: '',
};
<Input
type="text"
value={state.value}
id="copy"
isCopyable
onChange={(event) => {
setState({
value: event.target.value,
});
}}
onEnter={(value) => {
alert(value);
}}
placeholder="Enter Username"
/>
import Input from '@hawk-ui/input';
initialState = {
value: '',
};
<Input
type="password"
value={state.value}
isPasswordVisible
onChange={(event) => {
setState({
value: event.target.value,
});
}}
onEnter={(value) => {
alert(value);
}}
placeholder="Enter Username"
/>
import Input from '@hawk-ui/input';
initialState = {
value: '',
};
<Input
type="text"
onChange={(event) => {
setState({
value: event.target.value,
});
}}
onEnter={(value) => {
alert(value);
}}
placeholder="Enter Username"
label="Username"
isRequired
isError
errorMessage="This field is a compulsory field."
/>
import Input from '@hawk-ui/input';
initialState = {
value: '',
};
<Input
type="text"
isTextarea
htmlAttributes={{
rows: '3',
cols: '30',
}}
onChange={(event) => {
setState({
value: event.target.value,
});
}}
onEnter={(value) => {
alert(value);
}}
placeholder="Enter Address"
label="Address"
/>
FAQs
hawk-ui: Basic Input Component
The npm package @hawk-ui/input receives a total of 14 weekly downloads. As such, @hawk-ui/input popularity was classified as not popular.
We found that @hawk-ui/input demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.