denji remove
Remove icons from your project
Remove icons by their component name.
Usage
denji remove <icons...>Arguments
icons
Component names to remove (not Iconify IDs).
denji remove Check HomeExamples
Remove single icon:
denji remove CheckRemove multiple icons:
denji remove Check ArrowRight HomeOutlineHow It Works
- Reads icons file
- Removes specified components
- Updates icons file
- Runs
postRemovehooks (if configured)
Finding Component Names
List all icons to see component names:
denji listOutput:
Found 5 icon(s) in ./src/icons.tsx
Icons:
• Check
• ChevronDown
• Copy
• ExternalLink
• MessageCircleUse the component name for removal, not the Iconify ID.