diff options
author | Gregor Aisch <gka@users.noreply.github.com> | 2020-12-29 14:40:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 14:40:01 +0000 |
commit | 921f9120621a1d667588a26f76e54aa1309d2301 (patch) | |
tree | 5280c551c89b05a825e81a756aa04968342fc331 /README.md | |
parent | Release 1.38.1 (diff) | |
download | tabler-icons-921f9120621a1d667588a26f76e54aa1309d2301.tar.xz |
Mention tabler-icons-svelte in readme usage section
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -114,6 +114,20 @@ To load a specific version replace `latest` with the desired version number. <script src="https://unpkg.com/@tabler/icons@1.36.0/icons-react/dist/index.umd.js"></script> ``` +### Svelte + +You can use [`tabler-icons-svelte`](https://github.com/benflap/tabler-icons-svelte) to use icons in your Svelte projects (see [example](https://svelte.dev/repl/e80dc63d7019431692b10a77525e7f99?version=3.31.0)): + +```js +<script> + import { CurrencyBitcoin, BrandGithub, CircleX } from "tabler-icons-svelte"; +</script> + +<CurrencyBitcoin /> +<BrandGithub size="48" strokeWidth="1" /> +<CircleX /> +``` + ## 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. |