Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@lendi-ui/icon
Advanced tools
Add the SVG into src/icons. Be thoughtful with naming, as this will determine the name of the component. For example, the file computer-bank
will create a SVG component called computerBank
(note that the kebab-case filename will become a camelCase component).
When this package is built, an equivalent react component will be created in src/icons-compiled.
yarn add @lendi-ui/icon
import { Lock } from '@lendi-ui/icon';
<Lock color="secondary.500" />;
<PropTable>
<PropTable.Entry required name="color" type={`string`} description="The Icon color"/>
</PropTable>
FAQs
## Adding a new icon
We found that @lendi-ui/icon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 32 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
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.