haunted-heroicons
Version:
Heroicons for Haunted WebComponents
11 lines (8 loc) • 589 B
JavaScript
import { html, component } from "haunted";
import { iconStyle } from "haunted-heroicons/icon.esm";
const style = iconStyle("outline");
function CollectionIcon() { 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="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"/>
</svg>
`}
customElements.define("collection-icon", component(CollectionIcon));