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

1.1.34 • Public • Published

An icon component for all UI usage.

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>
    `
}

To define icon fonts:

<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

571

Version

1.1.34

License

ISC

Unpacked Size

818 kB

Total Files

21

Last publish

Collaborators

  • antidot
  • mike.antidot