@aircall/icons
v0.18.12
Published
Tractor Design icons distributed as SVG React components.
Downloads
923
Readme
@aircall/icons
This package contains Tractor Design icons distributed as SVG React components.
🔖 Recipes
Adding a new icon
Perform the next steps to correctly add a new icon:
- Ask the Design team for the icon's SVG file.
- Include the SVG file in
src/svgsand make sure the name follows the existing naming convention. - Open the SVG source code and confirm that it is using one of the following colors:
#101820,#292F48or#707479on all coloring related attributes suchfillandstroke. If not, replace the color value with one of the aforementioned values. - Run
pnpm generate:iconsand confirm that the icon component is then created insrc/components. - To test your newly added icon run
pnpm -- turbo run build --continue --filter=@aircall/iconsthen runpnpm sb:dev:tractor. You can now see your icon in the storybook's icons section.
