1.6.1 • Published 1 year ago

@festo-ui/react-icons v1.6.1

Weekly downloads
-
License
apache-2.0
Repository
-
Last release
1 year ago

react-icons

Installation

npm i @festo-ui/react-icons

Basic usage

All icon names are beginning with <Icon...> Example:

<IconAccordion></IconAccordion>

sizing

The default size is 16px. for other sizes use the size attribute.

Default sizes

You can use these sizes: 16 | 24 | 32 | 48 | 64 | 96 | 128

<IconAccordion size={48}></IconAccordion>

Custom size

To use a custom size, use the svg property together with size = 16, 24 or 32.

<IconAccordion size={32} svgProps={{ height: '256px' }}></IconAccordion>

Color

By default the icon has the text color. If you want the festo colors instead set the festoColor attribute:

<IconAccordion festoColor></IconAccordion>

Add class names

You can add css class names by setting the className attribute:

<button className="fwe-btn">
    <IconAccordion className="fwe-mr-xxs"></IconAccordion>
    Buttontext
</button>

Developer Documentation

For more information for developers, please refer to the Developer README.

1.6.0-dev.55

1 year ago

1.6.1

1 year ago

1.6.0-dev.58

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago

1.4.0-dev.51

1 year ago

1.4.0-dev.49

1 year ago

1.4.0

1 year ago

1.4.0-dev.43

1 year ago

1.4.0-dev.42

1 year ago

1.4.0-dev.40

1 year ago

1.4.0-dev.33

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.3.0-dev.18

1 year ago

1.3.0-dev.17

1 year ago

1.0.0-dev.16

1 year ago

1.0.0-dev.15

1 year ago

1.0.0-dev.12

1 year ago

1.1.0-dev.9

1 year ago

1.0.0-dev.6

1 year ago

1.0.0-dev.5

1 year ago