Socket
Book a DemoInstallSign in
Socket

@kadena/react-icons

Package Overview
Dependencies
Maintainers
7
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kadena/react-icons

Kadena's React icons library

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
7
Created
Source

React Icons

Design system icons generated for react using svgr

Getting Started

Icons have been created from the design system repository with the following considerations:

  • The default fill color is set to currentColor.
  • The dimensions for width and height are established at 1em, while the default fontSize is 1.5em.
  • These icons are compiled into a distinct package, which is designed without knowledge of the design tokens. This approach ensures that properties such as fill and fontSize remain generic, eliminating circular dependencies between the @kadena/react-ui and allowing the icons to be universally compatible with any build-system and react styling solutions.
  • Icons are grouped in different folders and package entries eg @kadena/react-icons/system.

Install

pnpm install @kadena/react-icons

Development

All icons are autogenerated from this file in the design system repo.

  • pnpm generate:icons run script/generateIcons.ts to generate icon components inside the src folder
  • pnpm build to build the src folder for publishing

FAQs

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