haunted-heroicons
Version:
Heroicons for Haunted WebComponents
11 lines (8 loc) • 542 B
JavaScript
import { html, component } from "haunted";
import { iconStyle } from "haunted-heroicons/icon.esm";
const style = iconStyle("outline");
function TagIcon() { return html`${style}<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"/>
</svg>
`}
customElements.define("tag-icon", component(TagIcon));