Socket
Socket
Sign inDemoInstall

@nodecraft/icons

Package Overview
Dependencies
0
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nodecraft/icons

UI


Version published
Maintainers
4
Created

Readme

Source

icons

Nodecraft Icons

It's down to the parent project to handle the import and handling of svg files via webpack or something similar.

Usage

// JSON array of available icons in sprite
import {spriteList} from '@nodecraft/icons';

// JSON array of available icons, including illustrations and things not in icon sprite
import {iconList} from '@nodecraft/icons';

// object with categories, their config, and icons in each category
// useful only really for storybook and other complex tooling
import {categoriesList} from '@nodecraft/icons';

// sprite of all icons
import sprite from '@nodecraft/icons/dist/sprite.svg';

// individual icons
import '@nodecraft/icons/dist/arrow/up.svg'; // file
import arrowUp from '@nodecraft/icons/dist/arrow/up.js'; // inline svg

FAQs

Last updated on 23 Aug 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc