Socket
Socket
Sign inDemoInstall

@naturacosmeticos/natds-icons

Package Overview
Dependencies
Maintainers
9
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@naturacosmeticos/natds-icons

Natura Design System - A collection of components used by Natura Cosmeticos


Version published
Weekly downloads
1.3K
increased by25.82%
Maintainers
9
Weekly downloads
 
Created
Source

@naturacosmeticos/natds-icons

Natura Design System - Icons

Travis (.org) Known Vulnerabilities

These are the icons used by @naturacosmeticos/natds-web, if you are already using the library, you probably do not need to install them.

Installation

You can still use them by installing directly into your package with:

# with npm
npm install --save @naturacosmeticos/natds-icons

# with yarn
yarn add @naturacosmeticos/natds-icons

The fonts and the generated css and json files are exported as:

import {
  iconNames, // the .json
  iconStyles, // the .css
  NatdsIconsEot,
  NatdsIconsSvg,
  NatdsIconsTtf,
  NatdsIconsWoff,
  NatdsIconsWoff2
} from '@naturacosmeticos/natds-icons';

For use on web environments, you will need to serve the fonts and consume the css file as you see fit. One possible way is to just create a simple (jsx) component like:

import { iconNames } from '@naturacosmeticos/natds-icons';
import '@naturacosmeticos/natds-icons/dist/natds-icons.css';

const Icon = (props) => (
  <i className={`natds-icons-${props.name}`} />
);

You can also import the json that contains the relationships between the icon names and their unicode counterparts (don't rely on the unicodes, they are generated automatically)

import {
  NatdsIconsTtf,
  iconNames
} from '@naturacosmeticos/natds-icons';

Contributing

To contribute, please check out our contributing file CONTRIBUTING

Keywords

FAQs

Package last updated on 27 Mar 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc