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.
abaabil.icon
Advanced tools
The Icon
component is a versatile and customizable SVG icon component built with React. It supports different sizes and allows for additional class names to be applied for further customization.
import * as React from 'react';
import Icon from 'abaabil.icon';
const App = () => (
<div>
<Icon id="settings" size="base" />
<Icon id="check" size="lg" className="text-green-500" />
<Icon id="warning" size="sm" className="text-red-500" />
</div>
);
export default App;
Prop | Type | Default | Description |
---|---|---|---|
id | string | null | The ID of the icon to use from the SVG sprite. |
size | string | base | The size of the icon. Can be sm , base , or lg . |
className | string | '' | Additional class names to apply to the icon. |
import * as React from 'react';
import Icon from 'abaabil.icon';
const Example = () => (
<div>
<Icon id="settings" size="base" />
<Icon id="check" size="lg" className="text-green-500" />
<Icon id="warning" size="sm" className="text-red-500" />
</div>
);
export default Example;
This example demonstrates various ways to use the Icon
component, showcasing different sizes and custom class names for further styling.
FAQs
Unknown package
The npm package abaabil.icon receives a total of 0 weekly downloads. As such, abaabil.icon popularity was classified as not popular.
We found that abaabil.icon 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.
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.