Skip to content

MMF-FE/svgicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d79ff10 · Jan 6, 2024
Dec 5, 2023
Dec 13, 2023
Dec 18, 2023
Jan 6, 2024
Dec 17, 2023
Nov 24, 2023
Dec 12, 2023
Dec 12, 2023
Dec 12, 2023
Dec 5, 2023
Aug 16, 2020
Dec 5, 2023
Dec 5, 2023
Oct 10, 2020
Dec 15, 2023
Dec 15, 2023
Sep 10, 2020
Dec 17, 2023
Nov 8, 2023
Dec 17, 2023
Jan 6, 2024

Repository files navigation

Svg Icon Packages

Features

  • Support multiple js frameworks
  • Load with webpack loader
  • Supports multiple colors, including gradients; Supports set fill and stroke attributes at the same time; supports original colors, and can modify a certain color; Supports zoom, animation etc.
  • Icon Preview

Packages

  • @yzfe/svgicon Generate the data required by the SVG icon component according to the incoming parameters (props)
  • @yzfe/vue-svgicon SVG icon component for vue
  • @yzfe/react-svgicon SVG icon component for react
  • @yzfe/svgicon-gen Generate icon data (icon name and processed SVG content) based on the content of the SVG file
  • @yzfe/svgicon-loader Load the SVG file as icon data (vue) or SVG icon component (react), the generated code can be customized
  • @yzfe/svgicon-viewer Preview SVG icon
  • @yzfe/vue-cli-plugin-svgicon A vue-cli plugin that can quickly configure svgicon
  • @yzfe/svgicon-polyfill SVG innerHTML compatible (IE)

Documentation

Refer to the documentation

License

MIT