Changelog
Packages
Svelte

Svelte

Track updates to the @hugeicons/svelte package for Svelte and SvelteKit applications.


@hugeicons/svelte V1.1.0

Minor Changes

  • Added full SVG props support - component now accepts all standard SVG attributes and event handlers
  • Added support for accessibility attributes (aria-label, aria-hidden, role, etc.)
  • Added support for event handlers (onclick, onmouseenter, etc.)
  • Props interface now extends SVGAttributes<SVGSVGElement> for full TypeScript support
  • Added prepare script to auto-generate .svelte-kit/ directory after install

Deprecations

  • className prop is deprecated - use class instead (both work for backward compatibility)

@hugeicons/svelte V1.0.3

(Released August 26, 2025)

Added

  • SvelteKit 2.0 full compatibility
  • Reactive icon switching

Fixed

  • Hydration mismatches in SSR
  • Prop reactivity issues

@hugeicons/svelte V1.0.2

(Released June 8, 2025)

Fixed

  • Hydration issues in SvelteKit
  • Icon prop reactivity problems
  • Compilation errors with TypeScript strict mode

Improved

  • Enhanced documentation with usage examples
  • Improved build performance

@hugeicons/svelte V1.0.1

(Released March 25, 2025)

Added

  • Support for custom icon colors and sizes

Improved

  • Better integration with SvelteKit routing
  • Enhanced prop validation and error handling
  • Improved build process for smaller bundles

@hugeicons/svelte V1.0.0

(Released December 28, 2024)

Added

  • Initial release
  • Full SvelteKit compatibility
  • Modular icon component exports
  • TypeScript support out of the box
  • Performance-optimized SVG rendering