@x3r5e/icons v0.10.4
Icons
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/iconsUsage
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).
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago