Socket
Socket
Sign inDemoInstall

@giosg/design-system-icons

Package Overview
Dependencies
Maintainers
12
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giosg/design-system-icons

svg based react icon components


Version published
Weekly downloads
0
Maintainers
12
Weekly downloads
 
Created
Source

Contribution guide.

We welcome contributions from everyone. Here are a few ways you can help.

Intro

Before you start the best thing you could do is to read the icon's package overview in Storybook to familiarize yourself with the package and the main key points.

➕ How to add a new icon

  1. Create a new branch
  2. Ask your designer to provide you a new icon or pick an already added one from the design system figma.
  3. The icon should follow some rules designers have documented. For example, it should have main, alt or accent data-id attributes on corresponding parts of an svg and the height should be 24px and viewport property is present. In practice, you should go to ./src/svg/ to compare with the existing set.
  4. Put the provided svg into ./src/svg/.
  5. Run pnpm svg - that will trigger the pipeline to produce a component.
  6. Update tests/screenshots if needed.
  7. Commit your changes if you are fine with them.
  8. Read the general rules how to create changesets in publishing settings

FAQs

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