JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4005
  • Score
    100M100P100Q123897F
  • License MIT

Nimbus Icons

Package Exports

  • @tiendanube/icons

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@tiendanube/icons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

nimbus-icons

Install

yarn

Add New Icons

  1. Copy icon SVG with name {icon-name}.svg. Use kebab-case for naming the file e.g. exclamation-circle.svg or telephone.svg to directory ./icons
  2. Run SVG Optimization yarn svgo
  3. Run Generate Icons yarn build

How to use

import { CloudIcon, AlertIcon, StoreIcons } from "@tiendanube/icons";

<CloudIcon />

<AlertIcon size="large" />

<StoreIcon size="medium" aria-label="Store" />

Properties

aria-label (opcional) string

size (opcional) number | 'small' (default) | 'medium' | 'large' | 'fixed'