npm.io
2.2.2 • Published 5 years ago

@brix-ui/core

Licence
MIT
Version
2.2.2
Deps
12
Size
312 kB
Vulns
0
Weekly
0
Stars
57

@brix-ui/core

React UI components library by uStudio Company.


Installation

npm i @brix-ui/core # styled-components react react-dom
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

@brix-ui/core package implements different UI components under the Brix UI design system. Every component is exported by default from its folder along with its props and, sometimes, some helper entities.

import Button from '@brix-ui/core/button';
import { Span } from '@brix-ui/core/text';

// ...

<Button intent="success">
  <Span lineHeightCompensation>Download</Span>
</Button>

It's also worth mentioning that we have a secret _internal folder, which accomodates some base components that are not the part of our public API (but you still can access them, of course).

Keywords