Svg helpers function with own Attributes

Hello everyone.

I really enjoyed using the very useful svg() helper function. However, I keep getting into the situation that I want to add another class, style or other properties to the generated a SVG tag. Would it be conceivable to integrate this in an upcoming Kirby version?
Here’s an example of a possible function call:

svg($file, ['class' => 'myClass1 myClass2', 'data-mydata' => 'myData', 'style' => 'width: 100%; height: auto'])

Hope the request hasn’t already been posted somewhere else in the form…

Best regards,

For feature request, please head over to (you might want to check first of such a request already exists).

Thanks, I posted it there.

Best wishes,