0.0.21 • Published 11 months ago
@wisdesign/lsicon v0.0.21
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 --saveyarn
$ yarn add @wisdesign/lsiconpnpm
$ pnpm install @wisdesign/lsicon --saveBasic 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:
- Please first check the Issue list to confirm whether someone has already raised the same or similar issue.
- 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
11 months ago
0.0.21
11 months ago
0.0.11
1 year ago
0.0.12
1 year ago
0.0.13
1 year ago
0.0.14
12 months ago
0.0.15
12 months ago
0.0.16
12 months ago
0.0.17
12 months ago
0.0.18
12 months ago
0.0.19
12 months ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.5
1 year ago
0.0.6
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago