Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@urbaninfrastructure/react-icons

Package Overview
Dependencies
Maintainers
0
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@urbaninfrastructure/react-icons

NPM package containing icons as React components used by Urban Sharing.

  • 7.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

react-icons

NPM package containing icons as React components used by Urban Sharing.

Getting started

First, install the package by running yarn add @urbaninfrastructure/react-icons. Then, import the icons you want to use in your files:

import { Check as CheckIcon } from '@urbaninfrastructure/react-icons'

const App = () => <CheckIcon />

Adding new icons

To add new icons, put the svg icon in /icons, then run yarn prepare. Remember to preview your icon in the docs, run yarn storybook in root, and visit Icon/All.

We use Jest snapshot testing for the icons, so you need to update the snapshots by running yarn test -u after adding new icons.

If it looks ok, create a new version by running yarn release from root.

FAQs

Package last updated on 25 Jun 2024

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