mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-08-11 08:34:10 +02:00
Merge pull request #29 from ckissi/add_tableicons_link
Added tablericons.com link to readme.
This commit is contained in:
28
README.md
28
README.md
@@ -4,11 +4,12 @@ A set of over 550 free MIT-licensed high-quality SVG icons for you to use in you
|
|||||||
|
|
||||||
**If you want to support my project and help me grow it, you can [become a sponsor on GitHub](https://github.com/sponsors/codecalm) or just [donate on PayPal](https://paypal.me/codecalm) :)**
|
**If you want to support my project and help me grow it, you can [become a sponsor on GitHub](https://github.com/sponsors/codecalm) or just [donate on PayPal](https://paypal.me/codecalm) :)**
|
||||||
|
|
||||||
|
We prepared for you a site where you can configure stroke, color and size online: [tablericons.com](https://tablericons.com)
|
||||||
|
|
||||||
## Preview
|
## Preview
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -26,21 +27,28 @@ All icons are built with SVG, so you can place them as `<img>`, `background-imag
|
|||||||
If you load an icon as an image, you can modify its size using CSS.
|
If you load an icon as an image, you can modify its size using CSS.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<img src="path/to/icon.svg" alt="icon title"/>
|
<img src="path/to/icon.svg" alt="icon title" />
|
||||||
```
|
```
|
||||||
|
|
||||||
### Inline HTML
|
### Inline HTML
|
||||||
|
|
||||||
You can paste the content of the icon file into your HTML code to display it on the page.
|
You can paste the content of the icon file into your HTML code to display it on the page.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<a href="">
|
<a href="">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg"
|
<svg
|
||||||
class="icon icon-tabler icon-tabler-disabled"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
width="24" height="24" viewBox="0 0 24 24"
|
class="icon icon-tabler icon-tabler-disabled"
|
||||||
stroke-width="1.25" stroke="currentColor" fill="none"
|
width="24"
|
||||||
stroke-linecap="round" stroke-linejoin="round">
|
height="24"
|
||||||
...
|
viewBox="0 0 24 24"
|
||||||
|
stroke-width="1.25"
|
||||||
|
stroke="currentColor"
|
||||||
|
fill="none"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
>
|
||||||
|
...
|
||||||
</svg>
|
</svg>
|
||||||
Click me
|
Click me
|
||||||
</a>
|
</a>
|
||||||
@@ -63,7 +71,7 @@ Add an icon to be displayed on your page with the following markup (`activity` i
|
|||||||
|
|
||||||
```html
|
```html
|
||||||
<svg width="24" height="24">
|
<svg width="24" height="24">
|
||||||
<use xlink:href="path/to/tabler-sprite.svg#tabler-activity"/>
|
<use xlink:href="path/to/tabler-sprite.svg#tabler-activity" />
|
||||||
</svg>
|
</svg>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user