haunted-heroicons
Version:
Heroicons for Haunted WebComponents
11 lines (8 loc) • 518 B
JavaScript
const { html, component } = require("haunted");
const iconStyle = require("haunted-heroicons/icon");
const style = iconStyle("outline");
function LoginIcon() { 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="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"/>
</svg>
`}
customElements.define("login-icon", component(LoginIcon));