Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Telerik
Build great .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
Testing & Mocking
Debugging
Build JavaScript UI
Javascript
AI for Developers & IT
Ensure AI program success
AI Coding
Additional Tools
Enhance the developer and designer experience
UI/UX Tools
Free Tools
CMS
Support
Resources
Design and Productivity Tools
Hello Vikas,
Yes, you can add the icons in the Kendo UI DropDownList component. Based on your requirement, you can use the desired Template. For example:
<kendo-dropdownlist> <ng-template kendoDropDownListItemTemplate let-dataItem> <kendo-svg-icon [icon]="dataItem.icon"></kendo-svg-icon> {{ dataItem.text }} </ng-template> <ng-template kendoDropDownListValueTemplate let-dataItem> <kendo-svg-icon [icon]="dataItem.icon"></kendo-svg-icon> {{ dataItem?.text }} </ng-template> </kendo-dropdownlist>
I have created this StackBlitz example where I have added the SVG Icons in the DropDownList.
Additionally, we also have the Icon DropDownButton if you would like to use that component.
I hope I have addressed your question correctly. Please let me know if I can further assist you.
Regards, Hetali Progress Telerik
Hi,
Can we also use the url image instead of icon?
Hi Gensha,
Yes, you can add an Image URL in the Kendo UI DropDownList templates. Take a look at the StackBlitz example.
Let me know if it helps or if you have questions.