bind-ui-icon v0.0.1
Introduction
BIND (Biofarma Innovative Next-level Design) Web Icon is a React icon library that uses IconPark originally developed by Bytedance Inc and custom icons.
Pre-requisite
To run the project, you need to install the following:
- Node.js (v22.11.0)
- yarn (v1.22.19)
How to run
To run the project, you need to install the dependencies by running the following command in the terminal:
yarn --frozen-lockfile
After that, you can build the project by running the following command in the terminal:
yarn compiler
yarn build:prepare
How to add a new icon
To add a new icon, you need to follow these steps:
1. download icon as svg file
2. group the icons in a folder by category
3. place the folder in source/
folder
4. edit source/db.csv
to add the new icon
5. run yarn compiler
to generate the icon files
6. copy content of lib/src/index.ts
to lib/src/map.ts
7. run yarn build:prepare
to generate the component icon files
Open Source Attributions
This project uses IconPark, originally developed by Bytedance Inc. IconPark is licensed under the Apache License, Version 2.0. Original source: https://github.com/bytedance/IconPark
6 months ago