We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a3a03f commit 399c94cCopy full SHA for 399c94c
src/components/icons-info.md
@@ -0,0 +1,12 @@
1
+To use the icons, the codicons.css file must be included in the page:
2
+
3
+```html
4
+<link rel="stylesheet" href="path/to/codicon.css" id="vscode-codicon-stylesheet">
5
+```
6
7
+:::caution
8
+Note the required `id` on the link element!
9
+To use web fonts in web components, the component needs to include
10
+the font stylesheet in addition to the page. This id serves as a lookup so
11
+the icon component can automatically create and insert it's own link tag.
12
+:::
0 commit comments