DEV Community

Eric Moynihan
Eric Moynihan

Posted on

I made a React UI Library with a focus on a minimalist design

Uniui

npm
Build

https://github.com/ericm/uniui

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>
<Button type="flat">Button</Button>
<Button type="borderless">Button</Button>

See more in the docs

Radio Menu

button

<SelectionGroup>
  <Selection type="radio" label="Radio button 1" />
  <Selection type="radio" label="Radio button 2" />
  <Selection type="radio" label="Radio button 3" />
</SelectionGroup>

Checkboxes

button

<SelectionGroup>
  <Selection type="checkbox" label="Checkbox 1" />
  <Selection type="checkbox" label="Checkbox 2" />
  <Selection type="checkbox" label="Checkbox 3" />
</SelectionGroup>

Switches

button

<SelectionGroup>
  <Selection type="switch" label="Switch 1" />
  <Selection type="switch" label="Switch 2" />
  <Selection type="switch" label="Switch 3" />
</SelectionGroup>

See more in the docs

TextField

button

<TextField value="Text" subtitle="TextField" />

See more in the docs

See the Component API docs for further reference

Top comments (0)