How to set VaadinIcon as background image?

Hi guys,
Like in title, is there a way to set VaadinIcons as css background-image?

I suppose you should be able to set the SVG as a CSS background web-components/packages/icons/assets/svg at main · vaadin/web-components · GitHub

I tried to access from styles.css file located in frontend/themes/my-theme/styles.css to package from the screen from node_modules directory but after run application the NOT Found status is returned to the browser when rendering the component with that css class.

You have to configure the theme to get the image from npm:

Thanks for the hint. I will check it.