New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@axa-ch/icon

Package Overview
Dependencies
Maintainers
48
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axa-ch/icon

The icon component for the AXA Pattern Library

  • 6.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
52
decreased by-14.75%
Maintainers
48
Weekly downloads
 
Created
Source

AXA Icon

<axa-icon> renders an icon, given an icon name, a resource path or a string to a suitable SVG image.

Properties

Icon

Icon names
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"
Icon resource path

The icon resource path must have .svg extension.

Icon as a SVG string

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 paths that should inherit the color from its containing component.

Size

The default behavior set the size of the svgs to 24x24 px. To use original size on the svg use original.

Attributedescription
size="small"20x20 px
size="medium"default. 24x24 px
size="large"32x32 px
size="original"use original size of svg file you use

FAQs

Package last updated on 13 Oct 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc