Condo Icons

In addition to the core components, the Condo UI design system has its own icon set, which is included in the same @unitifycom/ui package as the components.

Installation

To add a set of icons to your JS project, run one of the following commands according to your package manager:
bash
bun add @unitifycom/ui

Basic usage

typescript
import { Wallet } from '@unitifycom/ui/icons' <Wallet/>
Each icon from the Condo UI is presented in 4 sizes:
  • large (24px x 24px)
  • medium (20px x 20px)
  • small (16px x 16px)
  • auto (1em x 1em)
By default, all icons come in large size. You can change the size of the icon using the size property:
typescript
import { Star } from '@unitifycom/ui/icons' <Star size='small'/>

Changing icon color

The icons can be colored. To accomplish this, the rule fill: currentColor is applied to the svg element. In other words, the color is adjusted to the current value of the CSS property color of the parent element.
typescript
import { Mail } from '@unitifycom/ui/icons' <Mail color='#39ce66'/>