JSPM

@vaadin/vaadin-icon

21.0.0-alpha4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3576
  • Score
    100M100P100Q134732F
  • License Apache-2.0

Web component for creating SVG icons

Package Exports

  • @vaadin/vaadin-icon
  • @vaadin/vaadin-icon/vaadin-iconset.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vaadin/vaadin-icon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

<vaadin-icon>

<vaadin-icon> is a Web Component for creating SVG icons, part of the Vaadin components.

npm version

<vaadin-icon name="vaadin:user"></vaadin-icon>

Installation

Install vaadin-icon:

npm i @vaadin/vaadin-icon --save

Once installed, import it in your application:

import '@vaadin/vaadin-icon/vaadin-icon.js';

Getting started

Vaadin components use the Lumo theme by default.

To use the Material theme, import the corresponding file from the theme/material folder.

Entry points

  • The component with the Lumo theme:

    theme/lumo/vaadin-icon.js

  • The component with the Material theme:

    theme/material/vaadin-icon.js

  • Alias for theme/lumo/vaadin-icon.js:

    vaadin-icon.js

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs.

Contributing

To contribute to the component, please read the guideline first.

License

Apache License 2.0

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.