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
21
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axa-ch/icon

The AXA Icon component

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
134
increased by54.02%
Maintainers
21
Weekly downloads
 
Created
Source

AXA Icon

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

Usage

npm install @axa-ch/icon

import '@axa-ch/icon';

...
<axa-icon icon="arrow-right"></axa-icon>

// resource path
<axa-icon icon="/img/name.svg"></axa-icon>

React

You can use this component directly in your JSX without further React-ification (see Usage above).

Pure HTML pages

Import the icon-defining script and use icons like so:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Your awesome title</title>
  </head>
  <body>
    <axa-icon icon="arrow-right"></axa-icon>
    <script src="node_modules/@axa-ch/icon/dist/index.js"></script>
  </body>
</html>

Properties

Icon

Attribute
icon="arrow-right"
icon="collapse"
icon="download"
icon="email"
icon="expand"
icon="phone"
icon="plus"
icon="search"
icon="upload"

FAQs

Package last updated on 08 May 2019

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