
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
@paprika/checkbox
Advanced tools
Checkbox component displays a checkbox and label text beside it. When clicked it displays a checkmark. It can also have an indeterminate state which can be used to group checkboxes.
Checkbox component displays a checkbox and label text beside it. When clicked it displays a checkmark. It can also have an indeterminate state which can be used to group checkboxes.
yarn add @paprika/checkbox
or with npm:
npm install @paprika/checkbox
Prop | Type | required | default | Description |
---|---|---|---|---|
a11yText | string | false | null | Used for aria-label on the checkbox input |
checkedState | [ Checkbox.types.state.CHECKED, Checkbox.types.state.UNCHECKED, Checkbox.types.state.INDETERMINATE] | false | Checkbox.types.state.UNCHECKED | The checkbox state |
children | node | false | null | Used for label contents |
isDisabled | bool | false | false | Describe if the checkbox is disabled or not |
onChange | func | false | () => {} | Callback triggered when the input state is changed |
size | [ Checkbox.types.size.SMALL, Checkbox.types.size.MEDIUM, Checkbox.types.size.LARGE] | false | Checkbox.types.size.MEDIUM | Size provided by parent Group component |
tabIndex | [number,string] | false | 0 | Value for tabindex attribute to override the default of 0. |
import Checkbox from "@paprika/checkbox";
<Checkbox onChange={handleChange} checkState={checkedStateValue>
Checkbox 1
</Checkbox>;
FAQs
Checkbox component displays a checkbox and label text beside it. When clicked it displays a checkmark. It can also have an indeterminate state which can be used to group checkboxes.
The npm package @paprika/checkbox receives a total of 1,781 weekly downloads. As such, @paprika/checkbox popularity was classified as popular.
We found that @paprika/checkbox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.