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

@vcl/icon

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vcl/icon

Icon

  • 0.2.0
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

VCL icon

Icon.

Features

Can be used to display icons from the following sources:

  • img-tag based media objects.
  • CSS class based (for media objects embedded as background-image or icon fonts),
  • inline SVG, use-tag refs.

There is no size set. Sizing should be done inherently by the used object, the surrounding font-size or additional classes.

Usage

Based on an img tag.

img-tag based media objects example

Based on a background image.

background image based media objects example

CSS class based (icon font).

CSS class based with icon font example

Innline SVG based.

inline-svg example

Classes

  • vclIcon

Modifiers

  • vclIconSize1: Default size for non font-size controlled sizing ~24px.
  • vclIconSize2: ~36px.
  • vclIconSize3: ~48px.

Variables

Demo

example.html on GH-pages.

Keywords

FAQs

Package last updated on 22 Jun 2017

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