Uniui is a React Typescript UI library currently in beta.
To install Uniui, simply run the following in the root directory of your react project:
$ npm i react-uniui
You can import the entire library via:
import Uniui from "react-uniui";
Or individually:
import { Button, Selection } from "react-uniui";
<Button>Button</Button>
<Button type="flat">Button</Button>
<Button type="borderless">Button</Button>
<SelectionGroup>
<Selection type="radio" label="Radio button 1" />
<Selection type="radio" label="Radio button 2" />
<Selection type="radio" label="Radio button 3" />
</SelectionGroup>
<SelectionGroup>
<Selection type="checkbox" label="Checkbox 1" />
<Selection type="checkbox" label="Checkbox 2" />
<Selection type="checkbox" label="Checkbox 3" />
</SelectionGroup>
<SelectionGroup>
<Selection type="switch" label="Switch 1" />
<Selection type="switch" label="Switch 2" />
<Selection type="switch" label="Switch 3" />
</SelectionGroup>
<TextField value="Text" subtitle="TextField" />
See the Component API docs for further reference