Lion Logo Lion Guides Components Docs Blog Toggle darkmode

Icon: Overview

A web component for displaying icons.

export const main = () => html`
  <lion-icon icon-id="lion:space:alienSpaceship" style="width: 50px; height: 50px;"></lion-icon>
`;

Installation

npm i --save @lion/icon
import { LionIcon } from '@lion/icon';
// or
import '@lion/icon/define';