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

@codeday/topocons

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codeday/topocons

SRND icons for React projects.

  • 2.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Topocons

These icons are only licensed for use by CodeDay. Sorry!

In topocons 2, imports have changed! Take a look below.

Use

Import format:

import { [IconName] } from `@codeday/topocons`

<[IconName] />
import { Illuminati } from `@codeday/topocons`

<Illuminati />

How it works

generate icons:

  • svgo: optimizes svgs and tries its best to remove all the colors
  • create-chakra-icons (using @nexite/create-chakra-icons to allow generating individual files): generates tsx files for each svg
  • idxgen: creates index.ts that exports each icon in a tree shaking friendly way
  • replace: finishes removing any remaining colors

build:

  • uses tsup to bundle and transpile our ts into cjs and esm

Maybe helpful commands

download submodules (private repo)

git pull --recurse-submodules

download dependencies

yarn install

generate icons

yarn generate-icons

build (use build:fast to build w/o types)

yarn build

all done!

FAQs

Package last updated on 05 Mar 2023

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