New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@clair/icons

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clair/icons

Internal icons for Clair

  • 0.0.10
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

@Clair/icons

Internal icons for Clair-design

Development

Add source file(s)

Move new file(s) to src/svg and run

yarn svg

Preview in browser

yarn dev

Rename existing svg + ts file

There is a chance that the names of existed file(s) might fail to meet your expectation/standard.

To rename both source svg file and ts file, run

yarn rename

This would update the entry file (index.ts) automatically.

Build

yarn build

Structure

- src
  - svg
    - <icon>.svg // source file
- icons
  - <icon>.ts // ts file to export
- index.ts // entry point of the library
- app.jsx // for dev only
- .svgo.yml // config for svgo
- svg.config.js // config for yarn svg, also used for svgo

Organize

Every icon is written and exported in string format, which will be then be consumed by @clair/vue and @clair/react.

FAQs

Package last updated on 05 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