Unitify UI is a shared library of adaptive React components that allows you to create mini-applications,
whose interface is similar to the Condo interface.
Interactive sandbox
All Condo UI components can be found in our interactive sandbox,
where you can browse the staff and resident catalogs and their component states.
Installation
To install the library, just run the following command according to your package manager:
bashbun add @unitifycom/ui
You can then add the CSS styles of the Condo UI to your application to make all Condo UI components available for you to use:
typescriptimport '@unitifycom/ui/staff.css' import '@unitifycom/ui/styles.css'
Using the library
You can import the any required component as follows:
typescriptimport { Button } from '@unitifycom/ui' import type { ButtonProps } from '@unitifycom/ui'
In addition to components, the entire colour palette of Condo UI is also available in the library. You can get it either in the JS-object format,
or in the format of CSS variables along with other CSS tokens:
JS-object
CSS-vars
typescriptimport { colors } from '@unitifycom/ui/colors'
Wrap the application in
DesignSystemProvider from @unitifycom/ui inside your existing IntlProvider from react-intl. It configures locale, direction and the kit message catalog. Keep one root Ant Design provider.