PackageTrack
Sign in Get early access

symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

v3.4.0 8.2M downloads/mo #1038 most downloaded on Packagist symfony/ux-icons

What this package is like to depend on

Last release 25 days ago

29 Jul 2026

Ships fairly regularly

a new release about every 5 weeks

Some releases are documented

notes for 16 of 30 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

30 releases · first in 2024

9 releases in the last 12 months

see the full history below

Release timeline

27 releases · Apr 2024 to Jul 2026
2025 2026
Release Pre-release

Releases

latest 30
  1. v3.4.0 29 Jul 2026
    Release notes

    Changelog (v3.3.0...v3.4.0)

    • feature #3741 Add auto_lock to persist on-demand icons (@Kocal)
    Open source →
    Release notes
    • Add iconify.auto_lock option to persist "on demand" icons to the local icon directory as they are rendered
    Open source →
  2. v3.3.0 19 Jun 2026
    Release notes

    Changelog (v3.2.0...v3.3.0)

    • no significant changes
    Open source →
  3. v3.2.0 no date
    Release notes

    Changelog (v3.1.0...v3.2.0)

    Open source →
    Release notes
    • Sanitize rendered SVG icons (Iconify bodies and local files) to prevent XSS. See section 2.36.1 below for details
    Open source →
  4. v3.1.0 22 May 2026
    Release notes

    Changelog (v3.0.0...v3.1.0)

    • no significant changes
    Open source →
  5. v3.0.0 09 Apr 2026
    Release notes

    Changelog (v2.34.0...v3.0.0)

    • feature #3453 Update minimum required Symfony version to 7.4 (@Kocal)
    • feature #3450 Upgrade minimum required PHP version to 8.4 (@Kocal)
    • feature #3407 Allow Symfony UX 3.x packages (@Kocal)
    • bug #3398 Post-merge fixes for 3.x (@Kocal)
    • bug #3187 Add phpunit.dist.xml in .gitattributes (@Kocal)
    • bug #3182 Drop Symfony PHPUnit Bridge in favor of PHPUnit >= 11.0 (@Kocal)
    • feature #2998 Upgrade minimum required PHP version to 8.2 (@Kocal)
    • feature #2996 Update minimum required Symfony version to ^6.4 (@Kocal)
    Open source →
    Release notes
    • Minimum required Symfony version is now 7.4
    • Minimum required PHP version is now 8.4
    Open source →
  6. v2.36.1 16 Jun 2026
    Release notes

    Changelog (v2.36.0...v2.36.1)

    Open source →
    Release notes
    • Sanitize rendered SVG icons (Iconify bodies and local files) to prevent XSS. Removed from icon output:

      • Elements: <script>, <foreignObject>, <iframe>, <object>, <embed>, <handler>
      • SMIL animation elements (<animate>, <set>, <animateTransform>, <animateMotion>) when they target an on*, href or xlink:href attribute
      • CDATA sections and processing instructions (otherwise re-serialized as raw HTML)
      • Event-handler attributes (on*, e.g. onload, onclick) on every element
      • href / xlink:href values with a non-allowlisted scheme such as javascript:, vbscript:, data:text/html or data:image/svg+xml (allowed: http(s), mailto, tel, data:image/* raster, fragments and relative URLs)

      <style> elements are kept (so light/dark-mode theming keeps working), with their event-handler attributes stripped and </style> breakouts dropped.

      Clear your icon cache after upgrading so already-cached icons are re-sanitized.

    Open source →
  7. v2.36.0 03 Apr 2026
    Release notes

    Changelog (v2.35.0...v2.36.0)

    • no significant changes
    Open source →
  8. v2.35.0 no date
    Release notes

    Changelog (v2.34.0...v2.35.0)

    • feature #3407 Allow Symfony UX 3.x packages (@Kocal)
    Open source →
  9. v2.34.0 26 Feb 2026
    Release notes

    Changelog (v2.33.0...v2.34.0)

    • no significant changes
    Open source →
  10. v2.33.0 no date
    Release notes

    Changelog (v2.32.0...v2.33.0)

    • bug #3355 Fix CI (@Kocal)
    • feature #3324 Add support for suffixes (@seb-jean)
    Open source →
  11. v2.32.0 02 Dec 2025

    Nothing published for this version

  12. v2.31.0 30 Sep 2025

    Nothing published for this version

  13. v2.30.0 27 Aug 2025

    Nothing published for this version

  14. v2.29.2 14 Aug 2025

    Nothing published for this version

  15. v2.29.0 05 Aug 2025
    Release notes
    • Add Symfony 8 support
    Open source →
  16. v2.28.2 30 Jul 2025

    Nothing published for this version

  17. v2.28.0 25 Jul 2025

    Nothing published for this version

  18. v2.27.0 17 Jun 2025

    Nothing published for this version

  19. v2.26.0 30 May 2025

    Nothing published for this version

  20. v2.25.0 07 Apr 2025
    Release notes
    • Improve DX when symfony/http-client is not installed.
    Open source →
  21. v2.24.0 04 Apr 2025
    Release notes
    • Add xmlns attribute to icons downloaded with Iconify, to correctly render icons browser as an external file, in SVG editors, and in files explorers or text editors previews. It may breaks your pipeline if you assert on ux_icon() or <twig:ux:icon> output in your tests, and forgot to lock your icons. We recommend you to lock your icons before upgrading to UX Icons 2.24. We also suggest you to to force-lock your icons after upgrading to UX Icons 2.24, to add the attribute xmlns to your icons already downloaded from Iconify.
    Open source →
  22. v2.23.0 26 Dec 2024

    Nothing published for this version

  23. v2.22.1 04 Dec 2024

    Nothing published for this version

  24. v2.22.0 29 Nov 2024

    Nothing published for this version

  25. v2.21.0 21 Oct 2024

    Nothing published for this version

  26. v2.20.0 18 Sep 2024
    Release notes
    • Add aliases configuration option to define icon alternative names.
    • Add support for int and float attribute values in <twig:ux:icon />.
    • Add support for Icon sets, configurable with icon_sets option.
    Open source →
  27. v2.19.0 07 Aug 2024
    Release notes
    • Add ignore_not_found option to silence error during rendering if the icon is not found.
    Open source →
  28. v2.18.1 07 Jun 2024

    Nothing published for this version

  29. v2.18.0 04 Jun 2024

    Nothing published for this version

  30. v2.17.0 19 Apr 2024
    Release notes
    • Add component
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive