
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@arterial/checkbox
Advanced tools
Another React Material Checkbox
npm install @arterial/checkbox
@use "@material/checkbox/index.scss" as checkbox;
@include checkbox.core-styles;
import '@material/checkbox/dist/mdc.checkbox.css';
import {Checkbox} from '@arterial/checkbox';
function Checked() {
const [checked, setChecked] = useState(true);
return (
<Checkbox
checked={checked}
id="checkbox-checked"
onChange={e => setChecked(e.target.checked)}
/>
);
}
function Unchecked() {
const [checked, setChecked] = useState(false);
return (
<Checkbox
checked={checked}
id="checkbox-unchecked"
onChange={e => setChecked(e.target.checked)}
/>
);
}
function Indeterminate() {
const [checked, setChecked] = useState(false);
const [indeterminate, setIndeterminate] = useState(true);
return (
<Checkbox
checked={checked}
id="checkbox-indeterminate"
indeterminate={indeterminate}
onChange={e => {
setChecked(e.target.checked);
setIndeterminate(e.target.indeterminate);
}}
/>
);
}
function Label() {
const [checked, setChecked] = useState(true);
return (
<Checkbox
checked={checked}
id="checkbox-label"
label="Checkbox"
onChange={e => setChecked(e.target.checked)}
/>
);
}
function AlignEnd() {
const [checked, setChecked] = useState(true);
return (
<Checkbox
alignEnd
checked={checked}
id="checkbox-align-end"
label="Checkbox"
onChange={e => setChecked(e.target.checked)}
/>
);
}
<Checkbox
disabled
id="checkbox-disabled"
label="Checkbox"
onChange={() => {}}
/>
Name | Type | Description |
---|---|---|
alignEnd | boolean | Aligns root element on the right side of the label. |
checked | boolean | Indicates whether the element is checked. |
className | string | Classes to be applied to the root element. |
disabled | boolean | Indicates whether the element is disabled. |
id | string | Id of the element. |
indeterminate | bool | Indicates whether the checkbox is indeterminate. |
label | string | Text to be displayed next to the root element. |
onChange | function | Change event handler. |
ripple | boolean | Enables ripple within root element. Defaults to true. |
style | object | Styles to be applied to the root element. |
value | string | Value of input. |
FAQs
Another React Material Checkbox
We found that @arterial/checkbox demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.