Difficulties in using icons

Hello,

Is there an easy way to use icons?

it is difficult to use in this way:

.e-add-icon::before {

 content: '\e70a';

}


1 Reply

KV Keerthikaran Venkatachalam Syncfusion Team February 26, 2024 01:12 PM UTC

Hi WANG RENJIE,


We have checked the reported query, and by using the IconCss property of the button, you can directly add icons without using CSS styles. Please refer to the code snippet, sample, and UG link below.


<SfButton IconCss="e-icons e-search">Search</SfButton>


Sample link: https://blazorplayground.syncfusion.com/VDBJNLLnJmTBVfGy


UG link: https://blazor.syncfusion.com/documentation/appearance/icons


Please let us know if you need any further assistance on this.


Regards,

KeerthiKaran K V


Loader.
Up arrow icon