{

   "name": "icons.json",
   "callback": "MediaWiki\\ResourceLoader\\CodexModule::getIcons",
   "callbackParam": [
       // List the icons your module needs here, e.g.:
       "cdxIconArrowNext",
       "cdxIconBold",
       "cdxIconTrash"
   ]

}

cdxIconLogoCC cdxIconLogoCodex cdxIconLogoMediaWiki cdxIconLogoMetaWiki cdxIconLogoWikibooks cdxIconLogoWikidata cdxIconLogoWikifunctions cdxIconLogoWikimedia cdxIconLogoWikimediaCommons cdxIconLogoWikimediaDiscovery cdxIconLogoWikinews cdxIconLogoWikipedia cdxIconLogoWikiquote cdxIconLogoWikisource cdxIconLogoWikispecies cdxIconLogoWikiversity


CSS-only icons edit

from https://doc.wikimedia.org/codex/latest/using-codex/developing.html#css-only-icons

This:

<html>
<!-- Standalone icon. -->
<span class="my-icon-class--map-pin"></span>
<button class="cdx-button cdx-button--action-destructive">
	<!-- Icon inside a button. -->
	<span class="my-icon-class--trash"></span>
	Delete
</button>
</html>

produces:

However, this example is not working.

Code

Map pin