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

bytesize-icon-elements

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bytesize-icon-elements

custom elements for bytesize icons

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-60%
Maintainers
1
Weekly downloads
 
Created
Source

Custom Elements for Bytesize Icons

This package provides bytesize-icons icons as CustomElements. bytesize-icons are lightweight, reasonable set of nice icons with SVG format.

Installation

$ npm install --save bytesize-icon-elements

Usage

<html>
  <body>
    This is search icon: <icon-search></icon-search>

    And this is a thin book icon: <icon-book type="thin"></icon-book>

    Icon size is variable because it's SVG.

    This is a big flag icon: <icon-flag width="64" height="64"></icon-flag>
  </body>
  <script src="/path/to/bytesize-icon-elements/index.js"></script>
</html>

Loading bytesize-icon-elements/index.js registers <icon-*> elements. You can use it in your HTML directly. If you want to use this package with older browsers, you may need webcomponents.js as polyfill.

Each icon has below optional properties.

NameDescriptionDefault
typeOne of ultra-light, thin, light, regular, medium, bold and heavy. It determines stroke-width of icon.regular
widthWidth of icon (in pixels).32
heightHeight of icon (in pixels).32

Development

$ npm install
# Updates bytesize-icons if needed
$ npm run gen
$ npm run test

All Icons

You can see all icons in bytesize-icons repository page.

  • <icon-activity></icon-activity>
  • <icon-alert></icon-alert>
  • <icon-archive></icon-archive>
  • <icon-arrow-bottom></icon-arrow-bottom>
  • <icon-arrow-left></icon-arrow-left>
  • <icon-arrow-right></icon-arrow-right>
  • <icon-arrow-top></icon-arrow-top>
  • <icon-backwards></icon-backwards>
  • <icon-ban></icon-ban>
  • <icon-bell></icon-bell>
  • <icon-book></icon-book>
  • <icon-bookmark></icon-bookmark>
  • <icon-calendar></icon-calendar>
  • <icon-camera></icon-camera>
  • <icon-caret-bottom></icon-caret-bottom>
  • <icon-caret-left></icon-caret-left>
  • <icon-caret-right></icon-caret-right>
  • <icon-caret-top></icon-caret-top>
  • <icon-cart></icon-cart>
  • <icon-checkmark></icon-checkmark>
  • <icon-chevron-bottom></icon-chevron-bottom>
  • <icon-chevron-left></icon-chevron-left>
  • <icon-chevron-right></icon-chevron-right>
  • <icon-chevron-top></icon-chevron-top>
  • <icon-clock></icon-clock>
  • <icon-close></icon-close>
  • <icon-code></icon-code>
  • <icon-compose></icon-compose>
  • <icon-creditcard></icon-creditcard>
  • <icon-download></icon-download>
  • <icon-edit></icon-edit>
  • <icon-eject></icon-eject>
  • <icon-ellipsis-horizontal></icon-ellipsis-horizontal>
  • <icon-ellipsis-vertical></icon-ellipsis-vertical>
  • <icon-end></icon-end>
  • <icon-export></icon-export>
  • <icon-external></icon-external>
  • <icon-eye></icon-eye>
  • <icon-file></icon-file>
  • <icon-fire></icon-fire>
  • <icon-flag></icon-flag>
  • <icon-folder-open></icon-folder-open>
  • <icon-folder></icon-folder>
  • <icon-forwards></icon-forwards>
  • <icon-gift></icon-gift>
  • <icon-github></icon-github>
  • <icon-heart></icon-heart>
  • <icon-home></icon-home>
  • <icon-import></icon-import>
  • <icon-inbox></icon-inbox>
  • <icon-info></icon-info>
  • <icon-lightning></icon-lightning>
  • <icon-link></icon-link>
  • <icon-location></icon-location>
  • <icon-lock></icon-lock>
  • <icon-mail></icon-mail>
  • <icon-menu></icon-menu>
  • <icon-message></icon-message>
  • <icon-minus></icon-minus>
  • <icon-music></icon-music>
  • <icon-mute></icon-mute>
  • <icon-options></icon-options>
  • <icon-paperclip></icon-paperclip>
  • <icon-pause></icon-pause>
  • <icon-photo></icon-photo>
  • <icon-play></icon-play>
  • <icon-plus></icon-plus>
  • <icon-portfolio></icon-portfolio>
  • <icon-print></icon-print>
  • <icon-reload></icon-reload>
  • <icon-reply></icon-reply>
  • <icon-search></icon-search>
  • <icon-send></icon-send>
  • <icon-settings></icon-settings>
  • <icon-star></icon-star>
  • <icon-start></icon-start>
  • <icon-tag></icon-tag>
  • <icon-trash></icon-trash>
  • <icon-twitter></icon-twitter>
  • <icon-unlock></icon-unlock>
  • <icon-upload></icon-upload>
  • <icon-user></icon-user>
  • <icon-video></icon-video>
  • <icon-volume></icon-volume>
  • <icon-work></icon-work>

Keywords

FAQs

Package last updated on 20 Nov 2016

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