aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Rice <jared.rice17@gmail.com>2022-08-11 09:50:23 -0400
committerGitHub <noreply@github.com>2022-08-11 09:50:23 -0400
commitfc066cef3bddc9348c3411c536d88dee4331a1ea (patch)
treee53326dc3cd3514c4927d555b2255fbfcc7769bd
parentRelease 1.81.0 (diff)
downloadtabler-icons-fc066cef3bddc9348c3411c536d88dee4331a1ea.tar.xz
Update README.md with Iconfont usage examples
While trying to use this library I couldn't figure out how to use the iconfont without first digging deeper into the official website, so I included an HTML and CSS example in the README.
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index ed386e2d..d0b49913 100644
--- a/README.md
+++ b/README.md
@@ -206,6 +206,17 @@ To load a specific version replace `latest` with the desired version number.
<script src="https://cdn.jsdelivr.net/npm/@tabler/icons@1.74.0/icons-react/dist/index.umd.min.js"></script>
```
+###### HTML
+```html
+<i class="ti ti-brand-tabler"></i>
+```
+
+###### CSS
+```css
+content: 'ec8f';
+```
+
+
### Compiling fonts
To compile fonts first install [fontforge](https://fontforge.org/en-US/).