Transform SVGs to React Chakra UI
Feel free to create issues, feature requests, and send pull requests.
Clone this repository:
git clone https://github.com/kodingdotninja/chakra-icons.git
Go to the project directory:
cd chakra-icons
Install dependencies:
pnpm install
Make a new package:
pnpm plop
Follow the prompt instructions:
repository url : [link repo] e.g (https://github.com/twbs/icons)
path of svg icons : [the name of folder where the svg is stored] e.g (icons)
projects name : [name new package] e.g (bootstrap)
When it's done generating a new package, the package will be located in ./packages/@chakra-icons
.
Build the new package:
pnpm build
When build is completed without issues, you can submit a pull request.