Pass attributes insted of classes in svg_icon function

Created on 18 July 2025, 13 days ago

Problem/Motivation

I am creating an SDC component where I want to pass Height and Width with some classes. With the current implementation, it is not possible.

Proposed resolution

I have modified the Twig extension and added support for passing attributes from Twig.

Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

🇮🇳India nitesh pawar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024