icons
v3.52.0
Published
Tabler Icons v3.52.0
258 new icons:
Renamed icons:
outline/align-justifiedrenamed tooutline/align-left-justified
New features
- Vue: Improve tree-shaking and add per-icon imports. Icon components are now marked
/* @__PURE__ */, so unused icons are dropped even when a bundler cannot rely onsideEffects. The package gets anexportsmap with typed subpaths:@tabler/icons-vue/icons/IconHomeloads a single icon module,@tabler/icons-vue/icons-listexports the icon names and the new@tabler/icons-vue/dynamic-importsexports lazy loaders keyed by icon name. Existing@tabler/icons-vue/dist/*deep imports keep working. TheiconsandiconsListnamespaces exported from the main entry are marked@deprecatedin favour of these entries; they keep working and will be removed in the next major version. (#1725) - Svelte, Svelte Runes: Added
icons-listentry point to@tabler/icons-svelteand@tabler/icons-svelte-runes. (#1727) - React Native: Added
icons-listentry point to@tabler/icons-react-native. (#1732) - React: Add typed
@tabler/icons-react/icons-listand@tabler/icons-react/dynamic-importsentry points, and fixdynamic-imports, whose loaders imported non-existent./icons/*.tsfiles instead of the built.mjsmodules. TheiconsandiconsListnamespaces exported from the main entry are now marked@deprecatedin favour of these entries and per-icon imports; they keep working and will be removed in the next major version. (#1723) - React: Added
/* @__PURE__ */annotations, anexportsmap and typed@tabler/icons-react/icons/*per-icon imports. (#1722) - Preact: Added
exportsmap withicons/*,icons-listanddynamic-importsentry points to@tabler/icons-preact. (#1729) - Astro: Added
exportsmap withicons/*,icons-listanddynamic-importsentry points to@tabler/icons-astro. (#1731)
Fixes and improvements
- Added a root
.export and explicit exports foricons.json,tabler-nodes-*.jsonandpackage.json. (#1718) - Svelte: Fixed
iconsListanddefaultAttributesin@tabler/icons-sveltebeing typed asanyundernodenext. (#1727) - SolidJS: Fixed
@tabler/icons-solidjsbundling every icon when imported without thesolidexport condition. (#1730) - React Native: Updated
iconsandiconsListexports of@tabler/icons-react-nativeto be marked@deprecated. (#1732) - React Native: Added
/* @__PURE__ */to@tabler/icons-react-nativeicons so unused ones are dropped without relying onsideEffects. (#1732) - Preact: Updated
iconsandiconsListexports of@tabler/icons-preactto be marked@deprecated. (#1729) - Preact: Added
/* @__PURE__ */to@tabler/icons-preacticons so unused ones are dropped without relying onsideEffects. (#1729) - Astro: Updated
iconsandiconsListexports of@tabler/icons-astroto be marked@deprecated. (#1731) - Astro: Added
/* @__PURE__ */to@tabler/icons-astroicons so unused ones are dropped without relying onsideEffects. (#1731) - Angular: Removed the source map from
@tabler/icons-angular, reducing the unpacked package size from 9.3 MB to 3.6 MB. (#1733)

