Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@axa-ch/icon
Advanced tools
<axa-icon> renders an icon, given an icon name, a resource path or a string to a suitable SVG image.
Attribute |
---|
icon="add" |
icon="arrow-left" |
icon="arrow-right" |
icon="collapse" |
icon="document" |
icon="download" |
icon="email" |
icon="expand" |
icon="mobile" |
icon="phone" |
icon="search" |
icon="upload" |
icon="axa-logo" |
icon="axa-logo-open" |
The icon resource path must have .svg
extension.
You can load your own SVG and set its html string. The string must contain <svg
tag. When using a custom icon, make sure to define the icon width
and height
(in px
) in its definition and use fill="currentColor"
on path
s that should inherit the color from its containing component.
The default behavior set the size of the svgs to 24x24 px. To use original size on the svg use original
.
Attribute | description |
---|---|
size="small" | 20x20 px |
size="medium" | default. 24x24 px |
size="large" | 32x32 px |
size="original" | use original size of svg file you use |
FAQs
The icon component for the AXA Pattern Library
The npm package @axa-ch/icon receives a total of 52 weekly downloads. As such, @axa-ch/icon popularity was classified as not popular.
We found that @axa-ch/icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 49 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.