@lunit/design-system-icons
v2.2.3
Published
Icons for Lunit design system
Downloads
1,816
Keywords
Readme
Lunit Design System Icons
Installation
Currently, the icons package supports Material UI v7, so you need to install compatible versions.
npm install @emotion/[email protected] @emotion/[email protected] @mui/material@^7 @lunit/design-system-iconsUser Guide
Developer Guide
Figma
Lunit Icons Figma: https://www.figma.com/design/tlomwt8dT0GWikKqzYH7TO/Lunit_Icons_v2.0.0?node-id=12135-6066
You can use SVG Export plugin to export SVGs with proper settings( Monochrome preset will fulfill it).
<svg>tag must not have any dimensions(width, height) to supportfontSizeprops.- Any elements inside
<svg>(like<path>) must not have ownfillto supportcolorprops.
twotone is not supported currently.
Build & Publish
At repository root, the nx build @lunit/design-system-icons command generates components and stores them in generated/**/index.tsx files. These files are then used as entry points by Webpack.
You can publish the package with cd packages/design-system-icons && npm publish --access public.
Roadmap
- [x] Export SvgIcon wrapped components
- [x] Publish Storybook docs
- [x] Add all the design system icons
- [x] Support basic variants(outlined, filled)
- [ ] Support two-tone variant
- [ ] Export SVGs directly
- [ ] Automated visual test with the Figma project
Support
XE Team([email protected])
