New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

lo-icon

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lo-icon

Personal branding icon

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source



Simple · Unique · Deep

Installation

yarn add lo-icon
npm install lo-icon
bun install lo-icon
pnpm install lo-icon

Usage

CSS Icon

import 'lo-icon/css/index.css';
<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/lo-icon@1.1.0/css/index.css"
/>
<style>
  @import url('~/lo-icon/css/index.css');
</style>
<i class="lo-icon"></i>

Local Image

import SVGImg from 'lo-icon/images/svg/lo-icon.svg';

<img src={SVGImg} />;

Hosted image

<img src="https://cdn.jsdelivr.net/npm/lo-icon/images/svg/lo-icon.svg" />

CDN Image

import { svgPath } from 'lo-icon/cdn';

<img src={svgPath} />;

React Component

import LoIcon from 'lo-icon/react';

<LoIcon {...props} />;

React ESM import

<script type="module">
  import LoIcon from 'https://cdn.jsdelivr.net/npm/lo-icon@1.1.0/react/+esm';
</script>

Keywords

lokesh

FAQs

Package last updated on 24 Jan 2024

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