# mui-button

> The Material-UI Button with more color options

Latest version **1.0.8** (published 2021-08-05) · 0 weekly downloads

## Install

```sh
npm install mui-button
pnpm add mui-button
yarn add mui-button
bun add mui-button
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2021-08-05 |
| First published | 2021-08-04 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 12.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Hamidreza Nateghi |
| Maintainers | hamidreza.nateghi |
| Keywords | react, material, material ui, button |

## Links

- npm: https://www.npmjs.com/package/mui-button
- Repository: https://github.com/hamidreza-nateghi/mui-button
- Homepage: https://github.com/hamidreza-nateghi/mui-button#readme
- Issues: https://github.com/hamidreza-nateghi/mui-button/issues
- npm.io page: https://npm.io/package/mui-button

## Dependencies (8)

- [react](https://npm.io/package/react.md) ^17.0.2
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.2
- [web-vitals](https://npm.io/package/web-vitals.md) ^1.1.2
- [react-scripts](https://npm.io/package/react-scripts.md) 4.0.3
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ^4.12.3
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^11.2.7
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.14.1
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^12.8.3

## 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.8 (latest) — 2021-08-05
- 1.0.7 — 2021-08-05
- 1.0.6 — 2021-08-05
- 1.0.5 — 2021-08-05
- 1.0.4 — 2021-08-05
- 1.0.3 — 2021-08-05
- 1.0.2 — 2021-08-05
- 1.0.1 — 2021-08-04
- 1.0.0 — 2021-08-04
- 0.1.0 — 2021-08-04

## README

# The Material-UI Button with more color options

## Description

The [Material UI](https://material-ui.com/) Button with more color options from theme palette

## Live Demo

Take a look at [Live Demo](http://hamidreza-nateghi.github.io/mui-button)

## Installation

```shell
npm install mui-button --save
```

**Note:**

You will need to have `material-ui` installed, in order to use this component

```shell
npm install @material-ui/core
```

## Usage Example

```jsx
import React from "react";
import Button from "mui-button";

function Example() {
  return (
    <Button color="error" variant="outlined">
      Submit
    </Button>
  );
}
```

## Props

| Name  | Type                                                                                             | Default   | Description                                                                                    |
| ----- | ------------------------------------------------------------------------------------------------ | --------- | ---------------------------------------------------------------------------------------------- |
| color | 'inherit' \| 'primary' \| 'secondary' \| 'error' \| 'warning' \| 'success' \| 'info' \| 'default | 'primary' | The color of the component. It supports those theme colors that make sense for this component. |

## License

The MIT License.

## Author

[Hamidreza Nateghi](http://hamidreza-nateghi.github.io)

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