# tabler/tabler-icons architecture

> Architecture diagram of the GitHub repository tabler/tabler-icons, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tabler/tabler-icons
- Repository: https://github.com/tabler/tabler-icons

## Overview

Tabler Icons is a catalog of 6,287 SVG icons distributed as raw assets and framework- or format-specific packages. The user workflow is to choose an icon and delivery format, install the matching package, and render or use that icon in an application. The graph preserves the README’s documented package branches; its package table and usage examples support those connections. Sampled framework code shows implementation details for several adapters, but unsampled package internals are represented only at their listed directory paths.

Main entry points: [`packages/icons-angular/src/lib/tabler-icon.component.ts`](https://github.com/tabler/tabler-icons/blob/main/packages/icons-angular/src/lib/tabler-icon.component.ts) (Angular component), [`packages/icons-react/src/createReactComponent.ts`](https://github.com/tabler/tabler-icons/blob/main/packages/icons-react/src/createReactComponent.ts) (React), [`packages/icons-react-native/src/createReactNativeComponent.ts`](https://github.com/tabler/tabler-icons/blob/main/packages/icons-react-native/src/createReactNativeComponent.ts) (React Native), [`packages/icons-preact/src/createPreactComponent.ts`](https://github.com/tabler/tabler-icons/blob/main/packages/icons-preact/src/createPreactComponent.ts) (Preact)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Icon catalog"]
  node_svgdata["SVG icon data<br/>[icons.js]"]
  node_groups["Icon categories<br/>[grouped-icons.js]"]
end

subgraph group_frameworks["Framework adapters"]
  node_react["React"]
  node_native["React Native"]
  node_preact["Preact"]
  node_vue["Vue"]
  node_solid["SolidJS"]
  node_svelte["Svelte<br/>[Icon.svelte]"]
  node_svelte5["Svelte 5<br/>[Icon.svelte]"]
  node_astro["Astro"]
end

subgraph group_assets["Asset formats"]
  node_raw["Raw SVG files"]
  node_sprite["SVG sprite"]
  node_webfont["Icon webfont"]
  node_png["PNG files"]
  node_pdf["PDF files"]
  node_eps["EPS files"]
end

subgraph group_angular["Angular internals"]
  node_angular["Angular component"]
  node_angularconfig["Angular config"]
  node_angularprovider["Icon providers"]
  node_angularattrs["Default attributes"]
end

node_user(("Application developer"))

node_user -->|"installs or downloads"| node_raw
node_user -->|"installs and references"| node_sprite
node_user -->|"installs and includes"| node_webfont
node_user -->|"installs and renders"| node_react
node_user -->|"installs"| node_native
node_user -->|"installs"| node_preact
node_user -->|"installs"| node_vue
node_user -->|"installs"| node_solid
node_user -->|"installs"| node_svelte
node_user -->|"installs"| node_svelte5
node_user -->|"installs"| node_astro
node_user -->|"installs"| node_angular
node_user -->|"installs"| node_png
node_user -->|"installs"| node_pdf
node_user -->|"installs"| node_eps
node_angular -->|"uses defaults"| node_angularattrs
node_angular -->|"reads config"| node_angularconfig
node_angular -->|"queries providers"| node_angularprovider

click node_svgdata "https://github.com/tabler/tabler-icons/blob/main/src/data/icons.js"
click node_groups "https://github.com/tabler/tabler-icons/blob/main/src/data/grouped-icons.js"
click node_react "https://github.com/tabler/tabler-icons/blob/main/packages/icons-react/src/createReactComponent.ts"
click node_native "https://github.com/tabler/tabler-icons/blob/main/packages/icons-react-native/src/createReactNativeComponent.ts"
click node_preact "https://github.com/tabler/tabler-icons/blob/main/packages/icons-preact/src/createPreactComponent.ts"
click node_vue "https://github.com/tabler/tabler-icons/blob/main/packages/icons-vue/src/createVueComponent.ts"
click node_solid "https://github.com/tabler/tabler-icons/blob/main/packages/icons-solidjs/src/createSolidComponent.tsx"
click node_svelte "https://github.com/tabler/tabler-icons/blob/main/packages/icons-svelte/src/Icon.svelte"
click node_svelte5 "https://github.com/tabler/tabler-icons/blob/main/packages/icons-svelte-runes/src/Icon.svelte"
click node_astro "https://github.com/tabler/tabler-icons/blob/main/packages/icons-astro/src/createTablerIcon.ts"
click node_angular "https://github.com/tabler/tabler-icons/blob/main/packages/icons-angular/src/lib/tabler-icon.component.ts"
click node_angularconfig "https://github.com/tabler/tabler-icons/blob/main/packages/icons-angular/src/lib/tabler-icon.config.ts"
click node_angularprovider "https://github.com/tabler/tabler-icons/blob/main/packages/icons-angular/src/lib/tabler-icon.provider.ts"
click node_angularattrs "https://github.com/tabler/tabler-icons/blob/main/packages/icons-angular/src/defaultAttributes.ts"
click node_raw "https://github.com/tabler/tabler-icons/tree/main/packages/icons"
click node_sprite "https://github.com/tabler/tabler-icons/tree/main/packages/icons-sprite"
click node_webfont "https://github.com/tabler/tabler-icons/tree/main/packages/icons-webfont"
click node_png "https://github.com/tabler/tabler-icons/tree/main/packages/icons-png"
click node_pdf "https://github.com/tabler/tabler-icons/tree/main/packages/icons-pdf"
click node_eps "https://github.com/tabler/tabler-icons/tree/main/packages/icons-eps"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_svgdata,node_groups toneBlue
class node_react,node_native,node_preact,node_vue,node_solid,node_svelte,node_svelte5,node_astro toneAmber
class node_raw,node_sprite,node_webfont,node_png,node_pdf,node_eps toneMint
class node_angular,node_angularconfig,node_angularprovider,node_angularattrs toneRose
class node_user toneIndigo
```

## Components

### Icon catalog

- [SVG icon data](https://github.com/tabler/tabler-icons/blob/main/src/data/icons.js): `src/data/icons.js`
- [Icon categories](https://github.com/tabler/tabler-icons/blob/main/src/data/grouped-icons.js): `src/data/grouped-icons.js`

### Framework adapters

- [React](https://github.com/tabler/tabler-icons/blob/main/packages/icons-react/src/createReactComponent.ts): `packages/icons-react/src/createReactComponent.ts`
- [React Native](https://github.com/tabler/tabler-icons/blob/main/packages/icons-react-native/src/createReactNativeComponent.ts): `packages/icons-react-native/src/createReactNativeComponent.ts`
- [Preact](https://github.com/tabler/tabler-icons/blob/main/packages/icons-preact/src/createPreactComponent.ts): `packages/icons-preact/src/createPreactComponent.ts`
- [Vue](https://github.com/tabler/tabler-icons/blob/main/packages/icons-vue/src/createVueComponent.ts): `packages/icons-vue/src/createVueComponent.ts`
- [SolidJS](https://github.com/tabler/tabler-icons/blob/main/packages/icons-solidjs/src/createSolidComponent.tsx): `packages/icons-solidjs/src/createSolidComponent.tsx`
- [Svelte](https://github.com/tabler/tabler-icons/blob/main/packages/icons-svelte/src/Icon.svelte): `packages/icons-svelte/src/Icon.svelte`
- [Svelte 5](https://github.com/tabler/tabler-icons/blob/main/packages/icons-svelte-runes/src/Icon.svelte): `packages/icons-svelte-runes/src/Icon.svelte`
- [Astro](https://github.com/tabler/tabler-icons/blob/main/packages/icons-astro/src/createTablerIcon.ts): `packages/icons-astro/src/createTablerIcon.ts`

### Asset formats

- [Raw SVG files](https://github.com/tabler/tabler-icons/tree/main/packages/icons): `packages/icons`
- [SVG sprite](https://github.com/tabler/tabler-icons/tree/main/packages/icons-sprite): `packages/icons-sprite`
- [Icon webfont](https://github.com/tabler/tabler-icons/tree/main/packages/icons-webfont): `packages/icons-webfont`
- [PNG files](https://github.com/tabler/tabler-icons/tree/main/packages/icons-png): `packages/icons-png`
- [PDF files](https://github.com/tabler/tabler-icons/tree/main/packages/icons-pdf): `packages/icons-pdf`
- [EPS files](https://github.com/tabler/tabler-icons/tree/main/packages/icons-eps): `packages/icons-eps`

### Angular internals

- [Angular component](https://github.com/tabler/tabler-icons/blob/main/packages/icons-angular/src/lib/tabler-icon.component.ts): `packages/icons-angular/src/lib/tabler-icon.component.ts`
- [Angular config](https://github.com/tabler/tabler-icons/blob/main/packages/icons-angular/src/lib/tabler-icon.config.ts): `packages/icons-angular/src/lib/tabler-icon.config.ts`
- [Icon providers](https://github.com/tabler/tabler-icons/blob/main/packages/icons-angular/src/lib/tabler-icon.provider.ts): `packages/icons-angular/src/lib/tabler-icon.provider.ts`
- [Default attributes](https://github.com/tabler/tabler-icons/blob/main/packages/icons-angular/src/defaultAttributes.ts): `packages/icons-angular/src/defaultAttributes.ts`

### Other components

- **Application developer**

## Connections

- Application developer → Raw SVG files: installs or downloads
- Application developer → SVG sprite: installs and references
- Application developer → Icon webfont: installs and includes
- Application developer → React: installs and renders
- Application developer → React Native: installs
- Application developer → Preact: installs
- Application developer → Vue: installs
- Application developer → SolidJS: installs
- Application developer → Svelte: installs
- Application developer → Svelte 5: installs
- Application developer → Astro: installs
- Application developer → Angular component: installs
- Application developer → PNG files: installs
- Application developer → PDF files: installs
- Application developer → EPS files: installs
- Angular component → Default attributes: uses defaults (evidence: `packages/icons-angular/src/lib/tabler-icon.component.ts`)
- Angular component → Angular config: reads config (evidence: `packages/icons-angular/src/lib/tabler-icon.component.ts`)
- Angular component → Icon providers: queries providers (evidence: `packages/icons-angular/src/lib/tabler-icon.component.ts`)
