1.13.0 • Published 2 months ago

@open-condo/icons v1.13.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@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
1.13.0

2 months ago

1.12.0

5 months ago

1.11.4

9 months ago

1.11.3

9 months ago

1.11.2

9 months ago

1.11.1

10 months ago

1.11.0

11 months ago

1.10.0

1 year ago

1.9.1

1 year ago

1.9.0

1 year ago

1.8.0

1 year ago

1.7.0

1 year ago

1.6.0

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago