🚀 DAY 3 OF LAUNCH WEEK: Introducing Webhook Events for Pull Request Scans.Learn more →
Socket
Book a DemoInstallSign in
Socket

@dfds-ui/icons

Package Overview
Dependencies
Maintainers
1
Versions
2529
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfds-ui/icons

Shared icons within DFDS

latest
npmnpm
Version
2.0.29
Version published
Weekly downloads
30K
10859.21%
Maintainers
1
Weekly downloads
 
Created
Source

@dfds-ui/icons

Shared icons as React components within DFDS

Generating components from SVG sources

When adding/removing icons to/from the svgs folder a new set of generated components should be created and committed to the repository. To generate a new set run yarn generate

TODO

List of features and things we would like to add:

  • Add folder containing the SVG sources from UX
  • Use @svgr/cli to generate the React components
  • Support building "spritemaps" with SVG symbols
  • Document the "magic" colors being replaced
  • When publishing add SVGs to dist and then exclude src folder
  • Ensure that tsconfig.json is not being publish as it can bring warnings for consumers

FAQs

Package last updated on 24 Jun 2025

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