aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Wolny <michal.wolny@versum.pl>2020-11-15 17:07:41 +0100
committerMichal Wolny <michal.wolny@versum.pl>2020-11-15 17:07:41 +0100
commitecb9f0b59107d7efe638588d81bddcbd35e7e5ae (patch)
treec18459c34d1a4b870bcbd3cebc70887935f74902
parentUpdate README.md (diff)
downloadtabler-icons-ecb9f0b59107d7efe638588d81bddcbd35e7e5ae.tar.xz
add CDN info to readme
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 490b0a37..917b1038 100644
--- a/README.md
+++ b/README.md
@@ -92,6 +92,21 @@ const MyComponent = () => {
`@tabler/icons` exports it's own type declarations for usage with React and Typescript.
+### CDN
+
+All files included in `@tabler/icons` npm package are available over a CDN.
+
+```html
+<link rel="stylesheet" href="https://unpkg.com/@tabler/icons@latest/iconfont/tabler-icons.min.css">
+<script src="https://unpkg.com/@tabler/icons@latest/icons-react/dist/index.umd.min.js"></script>
+```
+
+To load a specific version replace `latest` with the desired version number.
+
+```html
+<script src="https://unpkg.com/@tabler/icons@1.36.0/icons-react/dist/index.umd.js"></script>
+```
+
## Multiple strokes
All icons in this repository have been created with the value of the `stroke-width` property, so if you change the value, you can get different icon variants that will fit in well with your design.