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

@dile/icons

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dile/icons

Some SVG icons to use in web components.

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
209
increased by140.23%
Maintainers
1
Weekly downloads
 
Created
Source

@dile/icons

This package contains some useful icons.

import { infoIcon } from '@dile/icons';

Yo may use this icon in a Lit template:

render() {
  return html`
    // Your component template
    ${ infoIcon }
  `;
}

To create the icon styles easily you may use the CSS declaration provided in this package.

import { iconCss } from '@dile/icons';

You may use the style declaration in Lit:

static get styles() {
  return [iconCss, css`
    :host {
        --dile-icon-color: #fce;
      }
  `];
}

CSS Custom Properties

You can customize it using CSS Custom Properties.

Custom propertyDescriptionDefault
--dile-icon-sizeIcon size24px
--dile-icon-colorIcon color#888

Keywords

FAQs

Package last updated on 20 May 2022

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