Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clay-icon

Package Overview
Dependencies
Maintainers
16
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clay-icon

Clay Icon Component

  • 2.23.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
543
decreased by-33.37%
Maintainers
16
Weekly downloads
 
Created
Source

clay-icon

A Metal Clay component for rendering SVG icons and third-party icon fonts. For third-party fonts, make sure the font file and css are included on the page.

Rendering Clay SVG Icons:

new metal.ClayIcon({
	spritemap: '/path/to/the/spritemap.svg',
	symbol: 'plus'
});

Rendering Clay Font Awesome Icons

new metal.ClayIcon({
	elementClasses: 'clay-fa icon-plus'
});

Rendering Glyphicons:

new metal.ClayIcon({
	elementClasses: 'glyphicon glyphicon-plus'
});

Rendering Font Awesome 4 Icons:

new metal.ClayIcon({
	elementClasses: 'fa fa-plus'
});

Setup

  1. See metal-clay-components/README.md

  2. Build the code:

npm run build
  1. Watch task:
npm run watch

Contribute

We'd love to get contributions from you! Please, check our Contributing Guidelines to see how you can help us improve.

Keywords

FAQs

Package last updated on 16 Dec 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