@heycar-uikit/icons
TypeScript icon, indicating that this package has built-in type declarations

6.1.0 • Public • Published

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.

Package Sidebar

Install

npm i @heycar-uikit/icons

Weekly Downloads

5,794

Version

6.1.0

License

UNLICENSED

Unpacked Size

1.42 MB

Total Files

1419

Last publish

Collaborators

  • heycar-uikit