-
Notifications
You must be signed in to change notification settings - Fork 2
Adding new icons
Iliana Nikolova edited this page Apr 23, 2025
·
7 revisions
Adding a new icon to the kendo-icons repository is a two step process:
- Create your icon in Adobe Illustrator and follow the guidelines described in https://www.telerik.com/design-system/docs/foundation/iconography/styles-and-guidelines/
- The final file is saved (exported) together with the canvas and these properties:
- Create a Branch with a meaningful name (e.g. "sparkles") and a meaningful commit message (e.g. "feat: add sparkles icon").
- Copy the newly created SVG icon in the
src/telerik-icons/solidfolder. - Create a Pull Request from the new branch and specify the category in which the icon should be, as well as alias names if any in a comment.
- The Front-End team is automatically assigned for pull request review and will handle the metadata generation(described in next steps).
Note
Each SVG should contain the following:
-
<?xml version="1.0" encoding="utf-8"?>. - Width, height and viewBox -
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">. - Only one
<path...>inside.
-
Run
npm run update-iconsto update theicons.jsonandicons-list.jsonfiles. -
Open the
icons.jsonand fill in the relevant icon categories for the newly added icon, e.g:{ "name": "caret-tr", "ligatures": [], "aliases": [], "categories": [ "navigation" ], "unicode": "e000" } -
Fill in the aliases and ligatures fields (if there are any).
-
Stage and commit* the updated
icons.jsonandicons-list.json. -
Push the changes.
-
After the new icon and the updated files are pushed, an additional commit will be automatically generated with the updated font and styles referencing the new icon.
*Please follow the commit message guidelines described here: Commit Message Guidelines Wiki.