
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@brighthr/component-button
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-button
To implement the Button component into your project you’ll need to add the import:
import Button from '@brighthr/component-button';
After adding import into your project you can use it simply like:
<Button />
Name | Type | Default | Description |
---|---|---|---|
color | 'primary' 'accent' 'error' 'white' | 'accent' | Sets the color of the button. |
fullWidth | boolean | false | Sets the button width to 100% . |
iconName | string | Sets the icon to display, uses calendar-dates if left empty. | |
iconPosition | 'left' 'right' | Sets the position of the icon, if left empty the icon will not show. | |
isLoading | boolean | false | If true , the loading spinner will show. |
outlineButton | boolean | false | If true , the button will have a white background. |
size | 'xs' 'sm' 'base' 'lg' 'xl' | 'base' | Sets the size of the button. |
text | string | Sets the button text. | |
textButton | boolean | false | If true , gives the button a text appearance. |
FAQs
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
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.