# witty-ui

> React UI components for modern apps

Latest version **1.0.1** (published 2018-06-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install witty-ui
pnpm add witty-ui
yarn add witty-ui
bun add witty-ui
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-06-20 |
| First published | 2018-06-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 122.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Witty Data |
| Maintainers | wittydata |
| Keywords | react, ui |

## Links

- npm: https://www.npmjs.com/package/witty-ui
- Repository: https://github.com/wittydata/witty-ui
- Homepage: https://github.com/wittydata/witty-ui#readme
- Issues: https://github.com/wittydata/witty-ui/issues
- npm.io page: https://npm.io/package/witty-ui

## Dependencies (6)

- [less](https://npm.io/package/less.md) ^3.0.4
- [rc-switch](https://npm.io/package/rc-switch.md) ^1.6.0
- [css-loader](https://npm.io/package/css-loader.md) ^0.28.11
- [less-loader](https://npm.io/package/less-loader.md) ^4.1.0
- [style-loader](https://npm.io/package/style-loader.md) ^0.21.0
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.26.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-06-20
- 1.0.0 — 2018-06-20

## README

# witty-ui

[![NPM version][npm-image]][npm-url]

[npm-image]: http://img.shields.io/npm/v/witty-ui.svg?style=flat-square
[npm-url]: http://npmjs.org/package/witty-ui

UI components for modern apps

## UI Components

- Switch 
- FormRow 

## Install

```bash
yarn add witty-ui
```
OR
```bash
npm install witty-ui --save
```

## Usage

### Switch

<img width="400" src="https://wittydata.github.io/switch.png">

```jsx
// Switch

import { Switch } from 'witty-ui'

render () {
  return (<Switch onLabel='Yes' offLabel='No' />)
}

```

### FormRow

```jsx
// FormRow

import { FormRow, Switch } from 'witty-ui'

render () {
  return (
    <FormRow label='Pick Up at Store' col={{label: 6, field: 16}}>
      <Switch onLabel='Yes' offLabel='No' />
    </FormRow>)
}

```

---
_Source: https://npm.io/package/witty-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
