@lidofinance/icons v2.20.0
Icon Components
React components for Lido Finance projects. Part of Lido UI Components
Install
yarn add @lidofinance/iconsUsage
import { ArrowBottom } from '@lidofinance/icons'
import { Lock } from '@lidofinance/icons'Check out our Storybook at https://ui.lido.fi
Icons
The list of icons is available at https://ui.lido.fi/?path=/story/images-icons--list
Adding a new icon
- Place the
.svgfile to thesrc/svgfolder. - If you would like the icon's colour to be adjustable, set its paths fill to black:
<svg><path fill="black"/></svg>. Otherwise, no adjustments are needed. - Run
convertscript from the root repository folder:yarn workspace @lidofinance/icons run convertor from current folder:yarn convert
That's it. The new component should appear in the src/index.tsx file.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago