JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q29771F
  • License GPL

Minimal Icon React Component. To Use AiIcon component, you must first add the Material Icons Font CSS.

Package Exports

  • @aiui/ai-icon

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 (@aiui/ai-icon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

AiIcon

Minimal Icon React Component.

To Use AiIcon component, you must first add the Material Icons Font CSS.

npm bundle size npm bundle size npm download

Install

npm i @aiui/ai-icon

Import

import AiIcon from '@aiui/ai-icon';

Props

Name Type Default Description
icon string stop Icon name
color string inherit Icon Color
size number 24 Icon size