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
- 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
- Run SVG Optimization
yarn svgo
- 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'