Iconify.design
  • Browse Icons
  • Documentation
  • GitHub
Thousands of icons, one unified framework.
  • Support Iconify
Icon Palette Icons

Optimising icon

This article is part of SVG clean up article.

After initial clean up and validation, changing icon palette, the icon is optimised.

Optimisation is done by SVGO. Not much to write about it, you can try SVGO optimisation yourself using SVGOMG project.

Code

Optimisation is done using runSVGO() function from Iconify Tools, followed by deOptimisePaths() to make sure icons are usable everywhere.

  • Icons
  • All Icon Sets
  • Individual Icon Sets
  • Individual Icons
  • Icon Sets List
  • Iconify API
  • Hosting API
  • API Providers
  • Using custom API
  • API Queries
  • Components
  • Icon Web Component
  • Icon Components
  • Unplugin Icons
  • UnoCSS
  • Icon Finder
  • Plugins
  • Figma Plugin
  • Sketch Plugin
  • Libraries
  • Iconify Types
  • Iconify Tools
  • Iconify Utils
  • Articles
  • Add Icon Set to Iconify
  • Cleaning Up Icons
  • Code Cleanup
  • Validating SVG
  • Icon Palette
  • Optimisation
  • © 2020 - 2022 Iconify OÜ • About Iconify • Privacy Policy