svg-to-svelte Svelte Themes

Svg To Svelte

svg-to-svelte

Convert SVG files into Svelte 5 components with a simple command-line interface (CLI).

Works with Svelte 5 and Node 22+.


Features

  • Convert single or multiple SVG files to Svelte components
  • Preserve class names with --include-class
  • Easy CLI usage for projects or icon libraries
  • Fully compatible with modern Svelte 5

Installation

Using npm (globally)

npm install -g @yulesxoxo/svg-to-svelte

Top categories

Loading Svelte Themes