Skip to content

New icon handling in v4 #9447

Answered by waterplea
loxy asked this question in Q&A
Discussion options

You must be logged in to vote
  • Right, it should work out of the box and with SVG processing gone there's not really a lot to customize, mostly just the path to icons, if you use CDN or something similar and custom resolver if you want to use anything other than Taiga UI icons by name
  • All you need to do is add the package you want to assets inside angular.json
  • Yes. Lucide is the default so there's no prefix just to simplify it. Maybe we will rename it to @taiga-ui/icons-lucide in v5 and change that.
  • Correct. Or for you to distinguish the name from your custom named icons if you override the resolver
  • By default it resolves all dots as a nested folder structure for assets, you can use that for your purposes. However all …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by loxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants