2.5.3 • Published 9 months ago

@livechat/design-system-icons v2.5.3

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

The icons package provides a collection of icons that can be used to enhance the visual appeal of your applications. These icons are designed to be customizable and easy to incorporate into your projects.

Installation

Run the following command using npm (or with you other favorite package manager, eg. yarn):

npm install @livechat/design-system-icons --save

Basic usage

To use icons simply import them from the package:

import { Edit } from '@livechat/design-system-icons';

<Edit />;

But our icons are designed to be used in conjunction with our components library, @livechat/design-system-react-components. To use them in this manner, you need to install both packages. Please also refer to the installation guide for the LiveChat React Components package.

npm install @livechat/design-system-react-components @livechat/design-system-icons --save

And then import them like this:

import { Edit } from '@livechat/design-system-icons';
import { Icon } from '@livechat/design-system-react-components';

<Icon source={Edit} kind="primary" />;

Adding new icons

  1. To install all necessary dependencies, run the following command:

    npm install
  2. Next you need to prepare a SVG by replacing all color values in the stroke or/and fill attributes with currentcolor value. This will allow us to change the color of the icon using the color css property.

  3. To add a new icon, you need to add a prepared SVG file to the ./svg directory. The file name should be in the snake_case format with -filled addition in the name for filled icon variants.
  4. Then add new prop to IconsData in format <icon-name>: <icon-group-name>;.
  5. Commit your changes and create a pull request. ⚠️ Commit message should follow the Conventional Commits naming pattern feat(icons): add new icon. ⚠️ This is crucial as, post squash merging, Git will use the PR name as the commit message.
  6. After the pull request is merged, the changes will be published by the Design System team in the next release.
2.5.2

9 months ago

2.5.3

9 months ago

2.0.0

10 months ago

1.38.3

10 months ago

1.38.4

10 months ago

1.38.5

10 months ago

2.0.0-alpha.8

10 months ago

1.37.1

10 months ago

2.0.0-alpha.7

10 months ago

1.38.2

10 months ago

1.38.0

10 months ago

1.38.1

10 months ago

1.37.0

10 months ago

1.36.0

10 months ago

2.0.0-alpha.5

10 months ago

1.33.1

11 months ago

2.0.0-alpha.3

1 year ago

2.0.0-alpha.4

12 months ago

2.0.0-alpha.0

1 year ago

1.23.0

1 year ago

1.23.1

1 year ago

1.27.0

1 year ago

1.30.0

11 months ago

1.30.1

11 months ago

1.34.0

11 months ago

1.24.2

1 year ago

1.28.1

12 months ago

1.22.5

1 year ago

1.28.3

12 months ago

1.33.0

11 months ago

1.31.0

11 months ago

1.22.0

1 year ago

1.21.0

1 year ago

1.20.0

1 year ago

1.19.3

1 year ago

1.19.2

1 year ago

1.19.1

1 year ago

1.19.0

1 year ago

1.17.1

1 year ago

1.17.0

1 year ago

1.16.6

1 year ago

1.16.3

1 year ago

1.16.2

1 year ago

1.15.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

1.6.1

2 years ago

1.3.0

2 years ago

1.0.0-beta.2

2 years ago

1.0.0-beta.3

2 years ago

1.0.0-beta.4

2 years ago

1.0.0-beta.1

2 years ago

1.0.0-beta.10

2 years ago

1.0.0-alpha.58

2 years ago

1.0.0-alpha.52

2 years ago

1.0.0-alpha.55

2 years ago

1.0.0-alpha.48

2 years ago

1.0.0-alpha.39

2 years ago

1.0.0-alpha.47

2 years ago

1.0.0-alpha.35

2 years ago

1.0.0-alpha.21

3 years ago

1.0.0-alpha.20

3 years ago

1.0.0-alpha.24

3 years ago

1.0.0-alpha.19

3 years ago

1.0.0-alpha.18

3 years ago

1.0.0-alpha.17

3 years ago

1.0.0-alpha.12

3 years ago

1.0.0-alpha.13

3 years ago

1.0.0-alpha.7

3 years ago

1.0.0-alpha.6

3 years ago

1.0.0-alpha.5

3 years ago

1.0.0-alpha.4

3 years ago

1.0.0-alpha.11

3 years ago

1.0.0-alpha.9

3 years ago

1.0.0-alpha.8

3 years ago

1.0.0-alpha.2

4 years ago

1.0.0-alpha.1

4 years ago