An open API service indexing awesome lists of open source software.

https://github.com/ustudioteam/brix-ui

☄️ The library of reusable UI components for React, made in minimalistic and light style, adopting modern technologies and approaches.
https://github.com/ustudioteam/brix-ui

lerna react styled-components ui ui-components ui-kit

Last synced: 3 months ago
JSON representation

☄️ The library of reusable UI components for React, made in minimalistic and light style, adopting modern technologies and approaches.

Awesome Lists containing this project

README

          

# Brix UI

[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)
[![style: styled-components](https://img.shields.io/badge/style-%F0%9F%92%85%20styled--components-orange.svg?colorB=daa357&colorA=db748e)](https://github.com/styled-components/styled-components)

Minimal UI framework for React built with [TypeScript](https://github.com/microsoft/TypeScript) and [styled-components](https://github.com/styled-components/styled-components).

---

Brix UI is shipping several packages:

- [`contexts`](packages/contexts/README.md)
- [`core`](packages/core/README.md)
- [`grid`](packages/grid/README.md)
- [`hooks`](packages/hooks/README.md)
- [`icons`](packages/icons/README.md)
- [`prop-types`](packages/prop-types/README.md)
- [`theme`](packages/theme/README.md)
- [`types`](packages/types/README.md)
- [`utils`](packages/utils/README.md)

Some of these are not intended to be used directly but are required for the others to work.
Most common use-case for Brix UI would be installing the `core` package which provides full-on experience of the framework.

## Installation

```shell script
npm i @brix-ui/core # styled-components react react-dom
```

```shell script
yarn add @brix-ui/core # styled-components react react-dom
```

> Make sure to have `react`, `react-dom` and `styled-components` installed in your package as they are included in our peer dependencies.

## Usage

Before writing any components in your application make sure to provide them with our theme.
This is done by wrapping your application in our `ThemeProvider` component.

```typescript jsx
import ThemeProvider from '@brix-ui/theme';

ReactDOM.render(
document.querySelector('#root'),



);
```

> More examples can be found in the [`theme`](packages/theme/README.md) package readme.

After that, you are ready to use our framework inside of your application!

```typescript jsx
// Please note that in most cases we provide direct default exports for better tree-shaking support.
import Button from '@brix-ui/core/button';
```

Live demo can be found [here](https://brix-ui-showcase.vercel.app/) ([GitHub](https://github.com/drizzer14/brix-ui-showcase)).

## Contributing

We are open for your suggestions and contributions to this project. In order to properly help us get better
please refer to the [contributing](CONTRIBUTING.md) and [code of conduct](CODE_OF_CONDUCT.md) documents.

## History

This package continues the story of [`ustudio-ui`](https://github.com/uStudioCompany/ustudio-ui) – our first attempt at creating a UI library for React.
`ustudio-ui` generally met our requirements yet leaving much room for improvement.
Here we made an attemt to completely rewrite the first version of our library, redesigning components and rethinking
all the code and architecture in the process.

Brix UI was made in the country of Ukraine by these lovely members and ex-members
of the [uStudio](https://github.com/uStudioCompany) company:





Dmytro Volkov





Hanna Mekshun





Dmytro Vasylkivskyi





Nataliia Lypovyk





Oleh Semenov