JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q98870F
  • License UNLICENSED

HeyCar-UIKit icons

Package Exports

  • @heycar-uikit/icons
  • @heycar-uikit/icons/dist/cssm
  • @heycar-uikit/icons/dist/cssm/index.js
  • @heycar-uikit/icons/dist/esm
  • @heycar-uikit/icons/dist/esm/index.js
  • @heycar-uikit/icons/dist/index.js
  • @heycar-uikit/icons/dist/modern
  • @heycar-uikit/icons/dist/modern/index.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 (@heycar-uikit/icons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

HeyCar-UIKit - Icons

Tests Coverage Status Demo build Commitizen friendly

Installation

To install and save in your package.json dependencies, run the command below using npm:

npm install @heycar-uikit/icons

Usage

Semantic vector graphics. Before using icons, you need to install import icons using one of these two options:

  • Option 1:
import CarIcon from '@heycar-uikit/icons/Car';
import CloseIcon from '@heycar-uikit/icons/Close';

function App() {
  return (
    <div>
      <Button
        leftIcon={<CarIcon />}
        size="large"
        color="primary"
        variant="outlined"
      >
        Hello World
      </Button>
      <CloseIcon />
    </div>
  );
}
  • Option 2:
import { Car, Close } from '@heycar-uikit/icons';

function App() {
  return (
    <div>
      <Button
        leftIcon={<CarIcon />}
        size="large"
        color="primary"
        variant="outlined"
      >
        Hello World
      </Button>
      <CloseIcon />
    </div>
  );
}

Documentation and sandbox

Storybook documentation and sandbox.