Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@atom-learning/icons
Advanced tools
This package exports the [Ikonate](https://ikonate.com/) icon set as React components alongside custom icons specific to Atom Learning.
This package exports the Ikonate icon set as React components alongside custom icons specific to Atom Learning.
yarn add @atom-learning/icons
import { Danger } from '@atom-learning/icons'
const Component = () => (
<Danger />
)
To use alongside the @atom-learning/components
package, you can combine any imported icon with the Icon
primitive to provide a set of default sizes and props for styling.
import { Icon } from '@atom-learning/components'
import { Danger } from '@atom-learning/icons'
const Component = () => (
<Icon is={Danger} css={{ color: 'red' }} size="lg" />
)
Custom SVG icons can be added to ./src
and will automatically be bundled. When adding to the custom icon set you must follow the following guidelines:
viewBox
must be 0 0 24 24
and no height
or width
should be setstroke-width: 2
and fill: none
are appliedYou can remove all attributes that we default to in our @atom-learning/components
Icon
component to save on file size:
fill
(default fill="none"
)stroke
(default stroke="currentcolor"
)stroke-linecap
(default stroke-linecap="round"
)stroke-linejoin
(default stroke-linejoin="round"
)stroke-width
(default stroke-width="2"
)However, you may include these if necessary if you need to override these default styles used above, e.g. fill="currentColor"
and stroke-width="0"
for a filled path
FAQs
This package exports the [Ikonate](https://ikonate.com/) icon set as React components alongside custom icons specific to Atom Learning.
We found that @atom-learning/icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.