New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@fluid-topics/ft-icon

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluid-topics/ft-icon

Typography components

1.2.4
Version published
Weekly downloads
1.7K
-32.44%
Maintainers
0
Weekly downloads
 
Created

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>

Keywords

FAQs

Package last updated on 12 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts