# reactjs-button-component

> Run the following commands to add UI library to your project:

Latest version **0.1.8** (published 2023-06-19) · 0 weekly downloads

## Install

```sh
npm install reactjs-button-component
pnpm add reactjs-button-component
yarn add reactjs-button-component
bun add reactjs-button-component
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.8 |
| Published | 2023-06-19 |
| First published | 2023-06-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 35.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | hieudnguyen |
| Keywords | react, component, button |

## Links

- npm: https://www.npmjs.com/package/reactjs-button-component
- Repository: https://github.com/hieund20/reactjs-button-component
- Homepage: https://github.com/hieund20/reactjs-button-component#readme
- Issues: https://github.com/hieund20/reactjs-button-component/issues
- npm.io page: https://npm.io/package/reactjs-button-component

## Dependencies (9)

- [react](https://npm.io/package/react.md) ^18.2.0
- [node-sass](https://npm.io/package/node-sass.md) ^9.0.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.1
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.12.1
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^13.4.0
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.16.5
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^13.5.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

- 0.1.8 (latest) — 2023-06-19
- 0.1.7 — 2023-06-19
- 0.1.6 — 2023-06-19

## README

# Installation
Run the following commands to add UI library to your project:

```
npm i reactjs-button-component

```

# Button Component

## Import
```
import { Button } from 'reactjs-button-component';

```

## Props

| Name            | Type                                         | Default     | Description                              |
|-----------------|----------------------------------------------|-------------|------------------------------------------|
| variant         | 'contained' \| 'text' \| 'outline' \| string | 'contained' | The variant to use                       |
| text            | string                                       | 'text'      | The text value of button component       |
| size            | 'small' \| 'medium' \| 'large' \| string     | 'medium'    | The size of component                    |
| disabled        | true \| false \| bool                        | false       | If true the component is disabled        |
| backgroundColor | string                                       |             | The background-color of component        |
| textColor       | string                                       |             | The color of text value inside component |
| startIcon       | elementType                                  | false       | The component used for the root node     |
| endIcon         | elementType                                  | false       | The component used for the root node     |



## Design

You may be seeing [Design](https://app.zeplin.io/project/646731a7032f761feeab9a55/screen/646731bf032f761feeabab75).

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