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

1.13.0 • Public • Published

@open-condo/icons NPM

A set of SVG icons presented as React components

Table of contents

Workflow
Installation
Usage

Workflow

Icons set is maintained in Figma by design team, — this is a primary source of changes. Developers should only pull and commit changes, made by design team.

See Import

Installation

To install package simply run the following command if you're using npm as your package manager:

npm i @open-condo/icons

or it's yarn alternative

yarn add @open-condo/icons

Usage

You can import needed component with its props directly from package entry point like this:

import { Car } from '@open-condo/icons'

By default, all icons are in large size and inherit color from a color style of current container. You can change it by passing some extra props:

<Car color='red' size='small'/>

Icons can also inherit their size from parent context. To achieve that, pass size='auto' prop to it

<Car size='auto'/> // width = height = 1em

Package Sidebar

Install

npm i @open-condo/icons

Weekly Downloads

7

Version

1.13.0

License

MIT

Unpacked Size

235 kB

Total Files

217

Last publish

Collaborators

  • open-condo-software