1.1.1 • Published 1 year ago

lo-icon v1.1.1

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

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>
1.1.1

1 year ago

1.1.0

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago