@x3r5e/icons
TypeScript icon, indicating that this package has built-in type declarations

0.10.4 • Public • Published

Icons

NPM npm (scoped) Libraries.io dependency status for latest release, scoped npm package npm

This package contains SVG files. Each component library implementation will need its own icon-to-component converter.

Installation

Install the npm package in your project:

npm install --save-dev @x3r5e/icons

Usage

Import the icon(s) that you need from the package

// `icons` is an object where each key corresponds to an SVG as a string
const icons = require("@x3r5e/icons");

Important Note

The width and height attributes are purposefully omitted from the SVGs. Make sure that you add those properties to the SVG when rendering it. This is useful when your icon component has a fixed set of sizes (e.g. small = 18px, medium = 24px, and large = 30px).

Readme

Keywords

none

Package Sidebar

Install

npm i @x3r5e/icons

Weekly Downloads

40

Version

0.10.4

License

MIT

Unpacked Size

21.4 kB

Total Files

5

Last publish

Collaborators

  • dlevy