2.23.0 • Published 10 months ago

@planview/pv-icons-sprite v2.23.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
10 months ago

@planview/pv-icons-sprite

An svg sprite of Planview Design System Icons following the specification

Open the official documentation for more details

Intended Use

This package is intended for use with non-React implementations. For applications leveraging React, please use our @planview/pv-icons package.

Setup

You can install @planview/pv-icons-sprite in multiple ways:

  • With NPM
npm install @planview/pv-icons-sprite --save
  • With Yarn
yarn add @planview/pv-icons-sprite

Usage

Include the @planview/pv-icons-sprite/icons.svg SVG inline in your page using your preferred method.

Reference any of the icons in the sprite using <use /> and set the color with color in CSS. (Inline styles are used here for brevity of the example, but normal classes would work just fine.)

<svg style="width: 24px; height: 24px;">
    <use xlink:href="#icon-calculator"></use>
</svg>

<svg style="width: 24px; height: 24px; color: red">
    <use xlink:href="#icon-arrow-up"></use>
</svg>
2.23.0

10 months ago

2.22.0

12 months ago

2.21.1

1 year ago

2.21.0

1 year ago

2.20.0

1 year ago

2.19.0

1 year ago

0.14.0

1 year ago

0.13.0

2 years ago

0.10.0

2 years ago

0.11.0

2 years ago

0.9.0

2 years ago

0.12.0

2 years ago

0.8.0

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.5.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.4.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago