# @gen3/ui-component

> Basic UI component for gen3

Latest version **0.11.5** (published 2026-03-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install @gen3/ui-component
pnpm add @gen3/ui-component
yarn add @gen3/ui-component
bun add @gen3/ui-component
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: no vulnerabilities; high maintenance score.

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

## Facts

| | |
|---|---|
| Version | 0.11.5 |
| Published | 2026-03-23 |
| First published | 2018-07-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 818.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | cdis.uchicago.edu |
| Maintainers | m0nhawk, mshao1, ocshawn, craigrbarnes, pribeyre, beatrixm |
| Keywords | gen3 |

## Links

- npm: https://www.npmjs.com/package/@gen3/ui-component
- Repository: https://github.com/uc-cdis/gen3-ui-component
- Homepage: https://github.com/uc-cdis/gen3-ui-component#readme
- Issues: https://github.com/uc-cdis/gen3-ui-component/issues
- npm.io page: https://npm.io/package/@gen3/ui-component

## Dependencies (12)

- [antd](https://npm.io/package/antd.md) ^4.24.12
- [react](https://npm.io/package/react.md) ^17.0.2
- [recharts](https://npm.io/package/recharts.md) ^2.7.3
- [rc-slider](https://npm.io/package/rc-slider.md) ^8.7.1
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.2
- [stylelint](https://npm.io/package/stylelint.md) ^15.10.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.8.1
- [rc-tooltip](https://npm.io/package/rc-tooltip.md) ^3.7.3
- [babel-loader](https://npm.io/package/babel-loader.md) ^9.1.3
- [postcss-svgo](https://npm.io/package/postcss-svgo.md) ^5.1.0
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^4.3.1
- [react-select-async-paginate](https://npm.io/package/react-select-async-paginate.md) ^0.7.3

## Recent versions

- 0.11.5 (latest) — 2026-03-23
- 0.11.4 — 2023-07-03
- 0.11.3 — 2023-05-30
- 0.11.2 — 2023-01-10
- 0.11.1 — 2022-03-30
- 0.11.0 — 2022-02-10
- 0.10.0 — 2021-06-28
- 0.9.2 — 2021-06-22
- 0.9.1 — 2021-06-18
- 0.9.0 — 2021-04-12
- 0.7.0 — 2021-03-31
- 0.6.6 — 2021-03-08
- 0.6.5 — 2021-01-25
- 0.6.4 — 2021-01-14
- 0.6.3 — 2021-01-05
- … 56 more at https://npm.io/package/@gen3/ui-component/versions

## README

# Gen3 UI Component Library
[![npm (scoped)](https://img.shields.io/npm/v/@gen3/ui-component?color=green&style=flat-square)](https://www.npmjs.com/package/@gen3/ui-component)

UI library for Gen3 apps

## Quick Start
### Install
Install with npm:
```
$ npm install --save @gen3/ui-component
```
### Usage
```
import Button from '@gen3/ui-component/dist/components/Button';
const myFunc = () => {
  console.log('clicked!');
};

<Button buttonType='primary' label='Primary Button' onClick={myFunc} leftIcon=’download’ />
```

### API
Clone the repo and try more components:
```
$ git clone git@github.com:uc-cdis/gen3-ui-component.git
npm run storybook
```

## For Developers
Run following scripts before commit:
```
$ npm version patch
```
It will bump the version of the npm package and commit the change.

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