Problem/Motivation
After updating UI Patterns (currently on 2.0.18), the icons in the layout builder panel are rendering as plain text.

I am not 100% sure what is going on. The icons are added in https://git.drupalcode.org/project/ui_suite_bootstrap/-/blob/5.2.x/templ... and were working perfectly until the update.
I see some discussion in [@3611167], but I am not really sure if it's the same issue.
I filed the issue in this project because that is where the icons are coming from. If it needs to move to UI Patterns, please let me know.
Steps to reproduce
I admittedly haven't tested on a clean install, but I checked multiple environments with the update. Just go to Layout Builder, add a block.
Proposed resolution
I am not really sure where to go to from here. Is the way the links--layout-builder-links.html.twig renders the icon no longer supported in the prop?
Remaining tasks
I guess the first step is to determine whether or not this is the actual problem, then figure out a solution. I would think there'd be other reports, but these last couple of updates are new.
Issue fork ui_suite_bootstrap-3612668
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
grimreaperComment #3
grimreaperComment #5
grimreaperComment #6
scottsawyerIt is a wonderful patch, and 2 hours before my client meeting. Instead of looking like an idiot, I will look like a genius, but the genius is you.
Comment #8
grimreaperComment #11
infohome commenteddear team. I'm experiencing the same problem as above with SVG not rendering properly (just texts) on drupalcore 11.3.1 4 PHP8.4.21 , UI pattern ver 2.0.18. using gin admin theme. gin toolbar v3.0.3 and gin admin 5.0.15. (I think the same porblem occured even when we use the core admin theme/claro, with/without navigation module activated)
similar to this
however, on another different website with drupal core 11.4.4 / php 8.4.21 everything seems to be OK. using gin admin theme v 5.0.15
In addition Id like to add this probably related bug on the UI ICON (which could be cause by the UI pattern codes) .
And a similar problem occurs on all of my ICON PICKER form formatter -> shown below

I have not put this on the UI Icon Bugs yet.. but probably I'll put a link /comment there to this one here.
--
nevertheless, on the page of https://myweb.com/admin/appearance/ui/icons UI library -UI Icon page the mini SVG icon pics are mostly not rendered as picture (but only shown as text) --> Screenshot 2026-08-11 at 11-42-15 Icons packs My web-d11d4.png (109.25 KB)

--
but when we press this to the next menu the bigger svg icons are shown properly. ( Screenshot 2026-08-11 at 11-41-31 Icons Drupal Navigation Pack My web-d11d4.png (60.97 KB))
