svg statements

I am trying to add svg code such as:

<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
 <defs>
  <filter id="to-white">
    ...
  </filter>
 </defs>
</svg> 

On a regular html page I would add those statements inline under the block.
Can someone suggest how to add those statements on a Vaadin application?
Thanks

Hi,

did you take a look at https://vaadin.com/docs/v8/framework/components/components-embedded.html ? There’s an example using SVG there.

-Olli