Adding Text instead of icon in palette

I created a custom palette with my custom entries. Usually a CSS class is used to Style the entries in the palette. Is it possible to use a Text instead of a CSS class. As a result I would like to have a text like “start-Event” instead of the start-Event icon, “Service task Name” instead of “Service Task Icon”. Thanks in advance


I’m not sure if it is possible without CSS at all, but instead of an Icon you can add the text in your styles. Something like className: 'start-event-text' and the CSS:

.start-event-text:before {
    content: 'Start Event';