0.4.10 • Published 2 years ago

@liveperson-design-system/icons v0.4.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

LivePerson Design System Icons

This project uses Lit to create Web Components. For more details please check Lit Docs

Installing

You can install LPDS icons with NPM or Yarn.

  • NPM: npm i @liveperson-design-system/icons
  • YARN: yarn add @liveperson-design-system/icons

How to use

Project with a Framework

To use all LPDS Icons simply import @liveperson-design-system/icons

import `@liveperson-design-system/icons`;

Also you can import specific icons to use it

import `@liveperson-design-system/icons/dist/add-target`;

Project without a Framework

If you're using a simple HTML page, you can add your component via a script tag. For example, if we published a component to npm, we could load the component through the unpkg CDN like this:

<html>
  <head>
    <script src="https://unpkg.com/@liveperson-design-system/icons"></script>
    <!-- or -->
    <script src="https://unpkg.com/@liveperson-design-system/icons/dist/add-target"></script>
  </head>
  <body>
    <lp-add-target-icon />
  </body>
</html>

Alternatively, if you wanted to take advantage of ES Modules, you could include the components using an import statement. Note that type="module" only works in modern browsers (not available in IE11 or Edge 12-18).

<html>
  <head>
    <script type="module">
      import 'https://unpkg.com/@liveperson-design-system/icons';
      // or
      import 'https://unpkg.com/@liveperson-design-system/icons/dist/add-target';
    </script>
  </head>
  <body>
    <lp-add-target-icon />
  </body>
</html>

Docs

We use Storybook to create LPDS docs and demos

License

MIT © LivePersonInc

0.4.9

2 years ago

0.4.0-alpha.0

2 years ago

0.4.8

2 years ago

0.4.3-alpha.0

2 years ago

0.4.10

2 years ago

0.4.6-alpha.0

2 years ago

0.4.5-alpha.0

2 years ago

0.3.27

2 years ago

0.4.4-alpha.0

2 years ago

0.4.7

2 years ago

0.4.6

2 years ago

0.3.20

2 years ago

0.3.17

3 years ago

0.3.24

2 years ago

0.3.23

2 years ago

0.3.22

2 years ago

0.3.21

2 years ago

0.3.19

2 years ago

0.3.18

3 years ago

0.3.14

3 years ago

0.3.13

3 years ago

0.3.12

3 years ago

0.3.11

3 years ago

0.3.10

3 years ago

0.3.9

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago