
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
suomifi-icons
Advanced tools
Suomi.fi icons as accessible React components.
The library consists of five icon categories:
The icons can be used simply by importing the desired icon components and using them in your code like any other React component.
import { IconArchive } from 'suomifi-icons';
<IconArchive color="green" mousePointer />;
Different icon categories have slightly varying APIs based on their intended use and styling possibilities:
Base icons are the most commonly used icon set. Their color and size can be customized via props. By default the color value is set to currentColor
, so the icons inherit the current font color.
Property | Property type | Description |
---|---|---|
className | string | Custom classname to extend or customize |
ariaLabel | string | Aria-label for SVG, undefined hides SVG from screen reader |
mousePointer | boolean | Show mouse cursor as hand-pointer |
color | string | Custom fill color |
fill | string | Custom fill color, takes precedence over color if both are provided |
Illustrative icons are 2-color icons that can be customized to fit the required color scheme.
Property | Property type | Description |
---|---|---|
className | string | Custom classname to extend or customize |
ariaLabel | string | Aria-label for SVG, undefined hides SVG from screen reader |
mousePointer | boolean | Show mouse cursor as hand-pointer |
baseColor | string | Custom base color |
highlightColor | string | Custom highlight color |
Logo icons contains variations of the Suomi.fi logo.They offer only limited customisation options.
Property | Property type | Description |
---|---|---|
className | string | Custom classname to extend or customize |
ariaLabel | string | Aria-label for SVG, undefined hides SVG from screen reader |
mousePointer | boolean | Show mouse cursor as hand-pointer |
Doctype icons portray different document types.
Property | Property type | Description |
---|---|---|
className | string | Custom classname to extend or customize |
ariaLabel | string | Aria-label for SVG, undefined hides SVG from screen reader |
mousePointer | boolean | Show mouse cursor as hand-pointer |
This repository uses semantic versioning (https://semver.org/).
npm install suomifi-icons
or
yarn add suomifi-icons
See DEVELOPMENT.md.
FAQs
Suomi.fi icons as accessible React components.
We found that suomifi-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.