Adding an Icon to Column header in a Vaadin flow Grid

As title said, I’m trying to add an icon to a vaadin flow grid header. I can’t figure out how to do that. Note that my grid is entirely built in java, so I’d avoid using html. Thanks.

Ended up doing it like so:

Icon nameIcon = new Icon(VaadinIcon.MONEY);
nameIcon.setSize("20px");
nameIcon.getStyle().set("float", "left");
nameIcon.setColor("blue");
Label nameLabel = new Label("Name");
nameLabel.add(nameIcon);
getGrid().addColumn(Client::getName).setHeader(nameLabel).setFlexGrow(5).setSortable(true).setKey("name");