@welcome-ui/icons
The Icons component from @welcome-ui.

Installation
yarn add @welcome-ui/icons
Import
import { ActionIcon } from '@welcome-ui/icons.actions'
import * as Icons from '@welcome-ui/icons'
Documentation
See the documentation or package source for more details.
How to add icons in welcome-ui (from abstract)
-
Download the svg from abstract into the icons/_assets/
folder, using snake_case for the name
-
If your icon is monochrome, check the presence of fill="black"
in the svg. If it is not present, change the fill
attribute.
-
Run yarn icons
-
Add your new icon(s) in the doc for Icons
and IconsFont
respectively in docs/pages/components/icons.mdx
and docs/pages/components/icons-font.mdx
-
Start/Restart your front server
-
Go fetch a 🍺, you're done!