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.
@patternfly/pfe-icon
Advanced tools
<pfe-icon icon="pfe-icon-server"></pfe-icon>
The name of the icon that you want to use. If the value of this attribute changes, the new icon will show up in the UI.
Controls the size of the icon. The options for size are:
2x
3x
4x
small
medium
large
<pfe-icon icon="pfe-icon-server" data-size="2x"></pfe-icon>
By default, pfe-icon
is set to display: inline-block
. The data-block
attribute sets this element to display: block
.
<pfe-icon icon="pfe-icon-server" data-block></pfe-icon>
Sets the border radius of the element to a circle (border-radius: 50%
).
<pfe-icon icon="pfe-icon-server" data-bg></pfe-icon>
Another option for data-bg
is to set the attribute equal to transparent
. This makes the background transparent.
<pfe-icon icon="pfe-icon-server" data-bg="transparent"></pfe-icon>
npm run test
npm run build
From the PFElements root directory, run:
npm start
Icon (and all PFElements) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.
FAQs
Icon element for PatternFly Elements
The npm package @patternfly/pfe-icon receives a total of 880 weekly downloads. As such, @patternfly/pfe-icon popularity was classified as not popular.
We found that @patternfly/pfe-icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 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.