Skip to content

Zalcherei/svg-icon-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

SVG Icon WebComponent

A basic webcomponent for rendering a single path SVG icon. This Svg icon is typescript version of @jamescoyle's svg-icon

Usage

  1. You can look what is inside index.ts file and copy/paste.
  2. Use the icon in your markup
<svg-icon type="mdi" path="M...z"></svg-icon>

Further reading

Check @jamescoyle's svg-icon repository for further information on styling and attributes.

About

svg-icon custom element with typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published