Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@devseed-ui/button
Advanced tools
Button is a default component to display action in a page.
Button supports x variations:
base-raised-light
is for general actions.base-raised-dark
is for grey background.Actions can be primary or secondary. There should be one primary action per page.
<DevseedUiThemeProvider>
<Button
variation="base-raised-light"
size="medium"
className="button-class"
title="sample button"
onClick={() => {}}
>
Click Me
</Button>
<Button
variation="base-raised-dark"
size="medium"
className="button-class"
title="sample button"
onClick={() => {}}
>
Click Me
</Button>
</DevseedUiThemeProvider>
Button supports three sizes – large for emphasized actions, medium as default, and small as alternative to medium.
<DevseedUiThemeProvider>
<Button
variation="base-raised-light"
size="small"
className="button-class"
title="sample button"
onClick={() => {}}
>
Click Me
</Button>
<Button
variation="base-raised-light"
size="medium"
className="button-class"
title="sample button"
onClick={() => {}}
>
Click Me
</Button>
<Button
variation="base-raised-light"
size="large"
className="button-class"
title="sample button"
onClick={() => {}}
>
Click Me
</Button>
</DevseedUiThemeProvider>
rows:
- Prop name: "variant"
Type: "combination of primary/base/danger/success-raised/plain-light/semidark/dark"
Description: "Sets the style variant of the button"
Default value: "base-plain"
- Prop name: "size"
Type: "oneOf ['small', 'medium', 'large', 'xlarge']"
Description: "Sets the size of the button"
Default value: "medium"
- Prop name: "radius"
Type: "oneOf ['ellipsoid','square', 'rounded']"
Description: "The value for the radius"
Default value: "rounded"
- Prop name: "box"
Type: "oneOf ['block','semi-fluid', 'null']"
Description: "The value for the box."
Default value: "null"
- Prop name: "active"
Type: "bool"
Description: "Whether the button is in an active state."
Default value: "false"
- Prop name: "hideText"
Type: "bool"
Description: "Whether the button text should be hidden"
Default value: "false"
- Prop name: "disabled"
Type: "bool"
Description: "Whether the button should be disabled."
Default value: "false"
- Prop name: "visuallyDisabled"
Type: "bool"
Description: "Whether the button should be visually disabled. A visually disabled button looks disabled but retains the mouse events. This is useful to trigger tooltips on hover."
Default value: "false"
- Prop name: "useIcon"
Type: "oneOf [array, string]"
Description: "The value for the icon. Has to be the name of a collecticon. If an array is used instead of a string, the first position is the name of the icon, and the second the position ('before' | 'after')."
Default value: "null"
- Prop name: "onClick"
Type: "func"
Description: "Click event handler"
Default value: "f => f"
FAQs
devseed UI Kit Button
The npm package @devseed-ui/button receives a total of 124 weekly downloads. As such, @devseed-ui/button popularity was classified as not popular.
We found that @devseed-ui/button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.