# paper-radio-button

> Paper Radio Button component

Latest version **0.3.0** (published 2016-09-26) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install paper-radio-button
pnpm add paper-radio-button
yarn add paper-radio-button
bun add paper-radio-button
```

## 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.3.0 |
| Published | 2016-09-26 |
| First published | 2016-07-06 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Standard Analytics |
| Maintainers | scienceai |
| Keywords | Material UI, Material Design Lite, react, Paper, radio button, scientific UI |

## Links

- npm: https://www.npmjs.com/package/paper-radio-button
- Repository: https://github.com/scienceai/paper-radio-button
- Issues: https://github.com/scienceai/paper-radio-button/issues
- npm.io page: https://npm.io/package/paper-radio-button

## 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

- 0.3.0 (latest) — 2016-09-26
- 0.2.1 — 2016-09-26
- 0.2.0 — 2016-07-08
- 0.1.1 — 2016-07-07
- 0.1.0 — 2016-07-06

## README

# `<PaperRadioButton />`

[![Build Status](https://travis-ci.org/scienceai/paper-radio-button.svg?branch=master)](https://travis-ci.org/scienceai/paper-radio-button)

### Install
```
npm install paper-radio-button
```

### Using the Component
```js
import PaperRadioButton from 'paper-radio-button';
```

### Using the CSS
```css
@import "paper-radio-button";
```

### API
* `checked: Boolean`: Optional. Determines whether the radio-button is displayed as checked or unchecked.
* `children: Any`: Optional. Used as a label for the radio-button.
* `disabled: Boolean`: Optional. Determines whether the radio-button is disabled.
* `id: String`: Required if using a label, optional otherwise.
* `onClick: Function`: Optional. Called when the `<PaperRadioButton>` component is clicked.
* `theme: String`: Optional. Accepts 'light' to add a light theme. Default theme is dark.

### Example
```js
<PaperRadioButton
  id='123'
  checked={this.state.clicked}
  onClick={() => this.setState({ clicked: !this.state.clicked })}
>
  Checkmate
</PaperRadioButton>
```

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