@fluid-topics/ft-icon
TypeScript icon, indicating that this package has built-in type declarations

1.2.16 • Public • Published

An icon component.

Install

npm install @fluid-topics/ft-icon
yarn add @fluid-topics/ft-icon

Usage

import { html } from "lit"
import "@fluid-topics/ft-icon"

function render() {
    return html`
        <ft-icon>account_settings</ft-icon>
    `
}

Define icon fonts as follows:

<html>
<head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fluid-topics/ft-icon/assets/font-definitions.css">
</head>
...
</html>

Readme

Keywords

Package Sidebar

Install

npm i @fluid-topics/ft-icon

Weekly Downloads

1,729

Version

1.2.16

License

ISC

Unpacked Size

1.07 MB

Total Files

21

Last publish

Collaborators

  • antidot
  • mike.antidot