Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@brighthr/component-checkbox
Advanced tools
To install, type the following into the command line at the root of your project:
To install, type the following into the command line at the root of your project:
npm i @brighthr/component-checkbox
To implement the Checkbox component into your project you’ll need to add the import:
import Checkbox from '@brighthr/component-checkbox';
After adding import into your project you can use it simply like:
<Checkbox />
Name | Type | Default | Description |
---|---|---|---|
checkboxButton | boolean | false | If true , gives the checkbox a button appearance. |
checkboxButtonSize | 'sm' 'base' | 'base' | Sets the size of the button appearance if checkboxButton is true . |
checkboxPosition | 'left' 'right' | 'left' | Sets the position of the checkbox. |
checked | boolean | false | If true , the checkbox will show as selected. |
circularCheckbox | boolean | false | If true , the checkbox will be circular. |
description | string | Sets a description to show. | |
disabled | boolean | false | If true , disables the checkbox with a gray overlay. |
iconName | string | Sets the icon to display, no icon is displayed if left empty. | |
label | string | Sets the label. |
FAQs
To install, type the following into the command line at the root of your project:
We found that @brighthr/component-checkbox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.