## Sponsors
**If you want to support our project and help us grow it, you can [become a sponsor on GitHub](https://github.com/sponsors/codecalm) or [donate on PayPal](https://paypal.me/codecalm).**
## Preview
### Outline version (5184 icons)
### Filled version (1054 icons)
## Packages
Tabler Icons is distributed as a set of official packages, one for each format and framework. All packages are published to npm from this repository and share the same version number. The full documentation is available at [tabler.io/docs/icons](https://tabler.io/docs/icons).
| Package | Description | Documentation |
| --- | --- | --- |
| [`@tabler/icons`](https://www.npmjs.com/package/@tabler/icons) | Raw SVG files (outline and filled) with icon metadata | [SVG](https://github.com/tabler/tabler-icons/tree/main/packages/icons) |
| [`@tabler/icons-sprite`](https://www.npmjs.com/package/@tabler/icons-sprite) | SVG sprite with all icons | [Sprite](https://github.com/tabler/tabler-icons/tree/main/packages/icons-sprite) |
| [`@tabler/icons-webfont`](https://www.npmjs.com/package/@tabler/icons-webfont) | Icon font with CSS and SCSS files | [Webfont](https://github.com/tabler/tabler-icons/tree/main/packages/icons-webfont) |
| [`@tabler/icons-react`](https://www.npmjs.com/package/@tabler/icons-react) | React components | [React](https://github.com/tabler/tabler-icons/tree/main/packages/icons-react) |
| [`@tabler/icons-react-native`](https://www.npmjs.com/package/@tabler/icons-react-native) | React Native components | [React Native](https://github.com/tabler/tabler-icons/tree/main/packages/icons-react-native) |
| [`@tabler/icons-preact`](https://www.npmjs.com/package/@tabler/icons-preact) | Preact components | [Preact](https://github.com/tabler/tabler-icons/tree/main/packages/icons-preact) |
| [`@tabler/icons-vue`](https://www.npmjs.com/package/@tabler/icons-vue) | Vue 3 components | [Vue](https://github.com/tabler/tabler-icons/tree/main/packages/icons-vue) |
| [`@tabler/icons-svelte`](https://www.npmjs.com/package/@tabler/icons-svelte) | Svelte 4 components | [Svelte](https://github.com/tabler/tabler-icons/tree/main/packages/icons-svelte) |
| [`@tabler/icons-svelte-runes`](https://www.npmjs.com/package/@tabler/icons-svelte-runes) | Svelte 5 components (runes) | [Svelte 5](https://github.com/tabler/tabler-icons/tree/main/packages/icons-svelte-runes) |
| [`@tabler/icons-solidjs`](https://www.npmjs.com/package/@tabler/icons-solidjs) | SolidJS components | [SolidJS](https://github.com/tabler/tabler-icons/tree/main/packages/icons-solidjs) |
| [`@tabler/icons-astro`](https://www.npmjs.com/package/@tabler/icons-astro) | Astro components | [Astro](https://github.com/tabler/tabler-icons/tree/main/packages/icons-astro) |
| [`@tabler/icons-angular`](https://www.npmjs.com/package/@tabler/icons-angular) | Angular component and icon providers | [Angular](https://github.com/tabler/tabler-icons/tree/main/packages/icons-angular) |
| [`@tabler/icons-png`](https://www.npmjs.com/package/@tabler/icons-png) | PNG files | [PNG](https://github.com/tabler/tabler-icons/tree/main/packages/icons-png) |
| [`@tabler/icons-pdf`](https://www.npmjs.com/package/@tabler/icons-pdf) | PDF files | [PDF](https://github.com/tabler/tabler-icons/tree/main/packages/icons-pdf) |
| [`@tabler/icons-eps`](https://www.npmjs.com/package/@tabler/icons-eps) | EPS files | [EPS](https://github.com/tabler/tabler-icons/tree/main/packages/icons-eps) |
## Installation
Install the SVG package with your package manager of choice:
```sh
npm install @tabler/icons
```
```sh
yarn add @tabler/icons
```
```sh
pnpm add @tabler/icons
```
Replace `@tabler/icons` with any package from the table above to install a framework-specific version.
You can also [download the latest release from GitHub](https://github.com/tabler/tabler-icons/releases).
## Usage
### SVG
All icons are plain SVG files, so you can use them as an `` source, as a CSS `background-image`, or inline in your HTML.
#### HTML image
When you load an icon as an image, you can control its size with CSS.
```html
```
#### Inline SVG
Paste the content of the icon file directly into your HTML to render it inline.
```html
```
Inline icons inherit `currentColor`, so you can change their size, color, and `stroke-width` with CSS.
```css
.icon-tabler {
color: red;
width: 32px;
height: 32px;
stroke-width: 1.5;
}
```
### SVG sprite
Install [`@tabler/icons-sprite`](https://www.npmjs.com/package/@tabler/icons-sprite) and reference an icon by its name prefixed with `tabler-`. Replace `activity` in the example below with any valid icon name.
```html
```
The package also ships `tabler-sprite-filled.svg` for filled icons and `tabler-sprite-nostroke.svg` for outline icons without a fixed stroke width.
### Webfont
Install [`@tabler/icons-webfont`](https://www.npmjs.com/package/@tabler/icons-webfont) and include one of the stylesheets from the `dist` directory.
| Stylesheet | Icons | Stroke width |
| --- | --- | --- |
| `tabler-icons.css` | Outline | 2 |
| `tabler-icons-300.css` | Outline | 1.5 |
| `tabler-icons-200.css` | Outline | 1 |
| `tabler-icons-filled.css` | Filled | – |
Minified variants with the `.min.css` suffix and SCSS sources are included as well.
```html
```
Use an icon with the `ti` base class and the `ti-{name}` modifier:
```html
```
In CSS, use the icon's unicode value. In SCSS, use the generated variable:
```css
content: '\ec8f';
```
```scss
content: $ti-icon-brand-tabler;
```
### React
Components are available through the [`@tabler/icons-react`](https://www.npmjs.com/package/@tabler/icons-react) package. The package is built with ES modules, so unused icons are tree-shaken from your bundle.
```jsx
import { IconAward } from '@tabler/icons-react';
const MyComponent = () => {
return (
);
};
```
`@tabler/icons-react` ships its own TypeScript declarations.
The same API is available for [Preact](https://www.npmjs.com/package/@tabler/icons-preact), [SolidJS](https://www.npmjs.com/package/@tabler/icons-solidjs), and [React Native](https://www.npmjs.com/package/@tabler/icons-react-native):
```jsx
import { IconArrowDown } from '@tabler/icons-preact';
import { IconArrowRight } from '@tabler/icons-solidjs';
import { IconArrowLeft } from '@tabler/icons-react-native';
```
### Vue
Components are available through the [`@tabler/icons-vue`](https://www.npmjs.com/package/@tabler/icons-vue) package.
```vue
```
With the Options API, register the icon in `components`:
```vue
```
### Svelte
For Svelte 4 and earlier, use [`@tabler/icons-svelte`](https://www.npmjs.com/package/@tabler/icons-svelte):
```svelte
```
For Svelte 5, use [`@tabler/icons-svelte-runes`](https://www.npmjs.com/package/@tabler/icons-svelte-runes), which is built with runes:
```svelte
```
### Astro
Components are available through the [`@tabler/icons-astro`](https://www.npmjs.com/package/@tabler/icons-astro) package.
```astro
---
import { IconArrowRight } from '@tabler/icons-astro';
---
```
### Angular
The official [`@tabler/icons-angular`](https://www.npmjs.com/package/@tabler/icons-angular) package provides a standalone `TablerIconComponent`. Register the icons you need with `provideTablerIcons()`:
```ts
import { bootstrapApplication } from '@angular/platform-browser';
import { provideTablerIcons, IconBrandAngular, IconHome } from '@tabler/icons-angular';
bootstrapApplication(AppComponent, {
providers: [provideTablerIcons({ IconBrandAngular, IconHome })],
});
```
Import `TablerIconComponent` in any component that renders icons, then reference icons by name in templates:
```html
```
See the [package documentation](https://github.com/tabler/tabler-icons/tree/main/packages/icons-angular) for `NgModule` usage and global configuration.
## CDN
All published packages are available from [jsDelivr](https://www.jsdelivr.com/package/npm/@tabler/icons). Replace `latest` with a specific version number (for example `3.46.0`) to pin a release.
### SVG
```html
```
### SVG sprite
```html
```
### Webfont
```html
```
## Stroke width
All outline icons are designed with a 2px stroke, but every path is drawn so that it also renders well at other stroke widths. Change the `stroke-width` value to get lighter or bolder variants that match your design.
## Community packages
The following packages are maintained by the community and are not part of this repository:
- [`angular-tabler-icons`](https://github.com/pierreavn/angular-tabler-icons) provides an alternative Angular integration.
- [`compose-icons`](https://github.com/DevSrSouza/compose-icons) brings Tabler Icons to Jetpack Compose for Android and Desktop. See its [documentation](https://github.com/DevSrSouza/compose-icons/blob/master/tabler-icons/DOCUMENTATION.md).
## Contributing
Bug reports and icon requests are welcome in the [issue tracker](https://github.com/tabler/tabler-icons/issues). Every release is listed in the [changelog](https://tabler.io/icons/changelog).
## License
Tabler Icons is licensed under the [MIT License](https://github.com/tabler/tabler-icons/blob/main/LICENSE).