react-uniui
v1.3.2
Published
![npm](https://img.shields.io/npm/v/react-uniui?style=flat-square) ![Build](https://github.com/ericm/uniui/workflows/Build/badge.svg?branch=master)
Downloads
3
Readme
Uniui is a React Typescript UI library currently in beta.
Installation
To install Uniui, simply run the following in the root directory of your react project:
$ npm i react-uniui
Usage
You can import the entire library via:
import Uniui from "react-uniui";
Or individually:
import { Button, Selection } from "react-uniui";
Components Preview
Buttons
<Button>Button</Button>
<Button type="flat">Button</Button>
<Button type="borderless">Button</Button>
Radio Menu
<SelectionGroup>
<Selection type="radio" label="Radio button 1" />
<Selection type="radio" label="Radio button 2" />
<Selection type="radio" label="Radio button 3" />
</SelectionGroup>
Checkboxes
<SelectionGroup>
<Selection type="checkbox" label="Checkbox 1" />
<Selection type="checkbox" label="Checkbox 2" />
<Selection type="checkbox" label="Checkbox 3" />
</SelectionGroup>
Switches
<SelectionGroup>
<Selection type="switch" label="Switch 1" />
<Selection type="switch" label="Switch 2" />
<Selection type="switch" label="Switch 3" />
</SelectionGroup>
TextField
<TextField value="Text" subtitle="TextField" />
See the Component API docs for further reference