Socket
Book a DemoInstallSign in
Socket

@hig/icon

Package Overview
Dependencies
Maintainers
6
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/icon

HIG Icon component

0.2.1
latest
Source
npmnpm
Version published
Weekly downloads
9
350%
Maintainers
6
Weekly downloads
 
Created
Source

Icon

Autodesk tool icons have a distinctive style. Although they don’t need to communicate complex interactions, the HIG icons should complement these icons, and look like they belong to the same family of products.

Read more about where and how to use icons on the website.

Getting started

yarn add @hig/icon

Import the component and CSS

import Icon from '@hig/icon';
import '@hig/icon/build/index.css';

Typical usage

Use the name prop to render a provided icon by name.

<Icon name="assets" />

Specifying a smaller size

<Icon name="assets" size="16" />

Providing a custom SVG

import myIcon from 'my-icon.svg';

function MyComponent() {
  return <Icon svg={myIcon} />
}

FAQs

Package last updated on 08 Oct 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.