uc-icon
1.1.0 • Public • Published Unchained UI
Icon
SVG icon UI component
Usage
import icon from 'uc-icon'
console.log(icon('user'));
Icons
- Define icons:
<svg xmlns="http://www.w3.org/2000/svg" class="svg-icons">
<symbol id="icon-user" viewBox="0 0 40 40"><path d="M.71.71l40 40m-40 0l40-40" /></symbol>
</svg>
- Hide this SVG
display:none
.
- Use icons. Define icons size and colors in the css.
License MIT
© velocityzen
Package Sidebar
Install
Weekly Downloads