0.0.21 • Published 4 months ago

@wisdesign/lsicon v0.0.21

Weekly downloads
-
License
-
Repository
github
Last release
4 months ago

Installation

The icon component library is independently provided via npm. To use the icon library components, you need to install @wisdesign/lsicon separately.

npm

$ npm install @wisdesign/lsicon --save

yarn

$ yarn add @wisdesign/lsicon

pnpm

$ pnpm install @wisdesign/lsicon --save

Basic Usage

import { LeftIcon } from '@wisdesign/lsicon'
 
function () {
  return <LeftIcon />
}

Style

//Javascript
import { UrgencyIcon } from "@wisdesign/lsicon";
import { UrgencyFilledIcon } from "@wisdesign/lsicon";
 
function () {
  return (
    <>
    <UrgencyIcon className={styles.one} />
    <UrgencyFilledIcon className={styles.two} />
    <UrgencyIcon className={styles.three} />
    </>
  )
}
/* CSS */
  .one {
  font-size: 24px;
  color: var(--wd-font-color-brand);
  padding-right: 16px;
  }
 
  .two {
  font-size: 32px;
  color: black;
  padding-right: 16px;
  }
 
  .three {
  font-size: 40px;
  color: var(--wd-font-color-helper);
  padding-right: 16px;
  }

Contribution

If you want to fix an icon error or add a new icon:

  1. Please first check the Issue list to confirm whether someone has already raised the same or similar issue.
  2. If not, you can create a new Issue, detailing the problem you encountered or your suggestions.

Icon errors could include issues with the outline/filled types, icon sizes not aligning with the 16px grid standard, ambiguous naming, etc.

For adding new icons, please ensure that the new icons have a universal appeal. At the moment, we do not accept requests for personalized icons.

License

This library is MIT licensed.

0.0.20

4 months ago

0.0.21

4 months ago

0.0.11

6 months ago

0.0.12

6 months ago

0.0.13

5 months ago

0.0.14

5 months ago

0.0.15

5 months ago

0.0.16

5 months ago

0.0.17

5 months ago

0.0.18

5 months ago

0.0.19

5 months ago

0.0.10

6 months ago

0.0.9

6 months ago

0.0.8

6 months ago

0.0.7

6 months ago

0.0.5

7 months ago

0.0.6

7 months ago

0.0.4

8 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

10 months ago