
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@lightspeed/cirrus-checkbox
Advanced tools
Checkbox component that supports the indeterminate state.
First, make sure you have been through the Getting Started steps of adding Cirrus in your application.
If using Yarn:
yarn add @lightspeed/cirrus-checkbox
Or using npm:
npm i -S @lightspeed/cirrus-checkbox
The use case of a checkbox is often confused with the one of a switch. The primary use case for a checkbox is when our user can select multiple values or to opt-in on something. The best and easiest way to remember if you should use a checkbox or a switch is by checking if the function is answering:
Yes/No --> <Checkbox>
On/Off --> <Switch>.
Never use a checkbox to turn something On/Off
Import required styles in your .scss:
@import '@lightspeed/cirrus-checkbox/Checkbox.scss';
| Prop | Type | Description |
|---|---|---|
id | string | Checkbox's ID |
label | string or element | Checkbox's label |
description | string or element | Description's text |
disabled | boolean | Set the Checkbox in a disabled state |
checked | boolean | Use true for checked, false for unchecked, undefined or not set for indeterminate |
html property | string | Any extra properties passed will be added to the <Checkbox> tag |
import React from 'react';
import Checkbox from '@lightspeed/cirrus-checkbox';
const handleChange = (event) => {
console.log(event.target.value);
}
const MyComponent = () =>
<div>
<Checkbox
id="checkbox"
name="checkbox"
label="checkbox"
data-attribute="custom attribute"
checked={true}
onChange={handleChange}
/>
</div>;
export default MyComponent;
Not available.
FAQs
Cirrus Checkbox Component
The npm package @lightspeed/cirrus-checkbox receives a total of 3 weekly downloads. As such, @lightspeed/cirrus-checkbox popularity was classified as not popular.
We found that @lightspeed/cirrus-checkbox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.