Backpack Assets
Icons

Icons

Usage



_10
import {IconAirplane} from "@ef-global/backpack-icons";
_10
_10
<IconAirplane />

Styling

Color

Color can be changed by using currentcolor

style.module.scss
Icon.tsx

_10
.redColor {
_10
fill: red;
_10
}

Size

--icon-size css variable is exposed. width and height can also be used.

style.module.scss

_10
:root {
_10
--icon-size: 60px;
_10
}

Icon list



No results