Skip to content

matIcon: Use the symbol viewBox by default #16892

Closed
@Sl1MBoy

Description

@Sl1MBoy

Feature Description

When I register an SVG icon set containing symbols I would like that matIcons utilize the viewBox from the symbol. While this PR allows us to set a viewBox value when registering the set, it will use the same value for all the symbols.

Use Case

This way we can have a resizable icon without any additional setting.

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions