Adding custom icons - Method 2. Icon library
The second method describes how to add custom icons to your project by using Figma library feature.
Instructions
Please note that this method requires a Figma Professional or Organization plan.
- Publish your custom icon set as a team in Figma. For guidance on team libraries, refer to Figma's official documentation.
- In the left sidebar, go to Assets, find your icons marked with the book icon, and publish your library.
- In the shadcn/ui kit file, enable your newly published icon library.
- Enable your newly published icon library from the Assets panel.
- Add them to your components — for example, inside a Button.
- Remember to update the color variables so your icons match the shadcn/ui kit styling.
After completing these steps, you can access your custom icons through the assets panel, seamlessly integrating them with the shadcn/ui kit components.
Up next
Working with the card component
Discover how to utilize the shadcn/ui card component in Figma and effectively use its slots.