# nuclide-commons-ui

> Common Nuclide UI components.

Latest version **0.7.2** (published 2018-07-19) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install nuclide-commons-ui
pnpm add nuclide-commons-ui
yarn add nuclide-commons-ui
bun add nuclide-commons-ui
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.2 |
| Published | 2018-07-19 |
| First published | 2017-05-16 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 20 |
| Unpacked size | 973.1 KB |
| Known vulnerabilities | 0 (+11 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 7705 |
| Author | Nuclide: Core UI |
| Maintainers | fb, hansonw, mostafaeweda, velocityboy, wbinnssmith |

## Links

- npm: https://www.npmjs.com/package/nuclide-commons-ui
- Repository: https://github.com/facebook/nuclide/tree/master/modules/nuclide-commons-ui
- Homepage: https://nuclide.io/
- npm.io page: https://npm.io/package/nuclide-commons-ui

## Dependencies (20)

- [idx](https://npm.io/package/idx.md) 1.2.0
- [rxjs](https://npm.io/package/rxjs.md) 5.5.5
- [anser](https://npm.io/package/anser.md) 1.4.6
- [react](https://npm.io/package/react.md) 16.4.1
- [dedent](https://npm.io/package/dedent.md) 0.7.0
- [lodash](https://npm.io/package/lodash.md) 4.17.10
- [log4js](https://npm.io/package/log4js.md) 1.1.1
- [semver](https://npm.io/package/semver.md) 5.3.0
- [tabbable](https://npm.io/package/tabbable.md) 1.1.0
- [invariant](https://npm.io/package/invariant.md) 2.2.2
- [react-dom](https://npm.io/package/react-dom.md) 16.4.1
- [classnames](https://npm.io/package/classnames.md) 2.2.5
- [diffparser](https://npm.io/package/diffparser.md) 1.1.0
- [nullthrows](https://npm.io/package/nullthrows.md) 1.0.0
- [escape-html](https://npm.io/package/escape-html.md) 1.0.3
- [shallowequal](https://npm.io/package/shallowequal.md) 0.2.2
- [escape-carriage](https://npm.io/package/escape-carriage.md) 1.2.0
- [nuclide-commons](https://npm.io/package/nuclide-commons.md) 0.7.2
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) 1.0.5
- [nuclide-commons-atom](https://npm.io/package/nuclide-commons-atom.md) 0.7.2

## Recent versions

- 0.7.2 (latest) — 2018-07-19
- 0.1.0-alpha.25d2fbca (canary) — 2017-06-01
- 0.7.1 — 2018-04-25
- 0.7.0 — 2018-04-16
- 0.6.0 — 2018-04-13
- 0.5.0 — 2018-02-21
- 0.4.0 — 2017-09-29
- 0.2.0 — 2017-09-08
- 0.1.11 — 2017-08-22
- 0.1.10 — 2017-08-10
- 0.1.9 — 2017-07-26
- 0.1.8 — 2017-07-05
- 0.1.7 — 2017-06-22
- 0.1.6 — 2017-06-18
- 0.1.5 — 2017-06-09
- … 6 more at https://npm.io/package/nuclide-commons-ui/versions

## README

# nuclide-commons-ui

A collection of React components for use with Atom in Nuclide and related packages.

To use, first `require('nuclide-commons-ui')` to load the stylesheets and then start importing individual components.

```
// Load stylesheets in activate()...
const disposable = require('nuclide-commons-ui');

// Grab individual components as you need them!
const {Button} = require('nuclide-commons-ui/Button');
const button = <Button ... />;

// Unload stylesheets in deactivate()...
disposable.dispose();
```

List of React components:

- AtomInput
- AtomTextEditor
- Block
- Button
- ButtonGroup
- ButtonToolbar
- Checkbox
- CodeSnippet
- Highlight
- Icon
- LoadingSpinner
- Message
- PanelComponentScroller
- ProgressBar
- ReactMountRootElement
- Table
- Toolbar
- ToolbarCenter
- ToolbarLeft
- ToolbarRight

Check out the \*.example.js files for some examples on how to use the components.

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