# react-best-tabs

> A great package to easily create beautiful tabs in React Js

Latest version **1.3.3** (published 2022-07-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-best-tabs
pnpm add react-best-tabs
yarn add react-best-tabs
bun add react-best-tabs
```

## 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.3.3 |
| Published | 2022-07-16 |
| First published | 2021-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 16.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | MostafaRostami72 |
| Maintainers | m0stafa72 |

## Links

- npm: https://www.npmjs.com/package/react-best-tabs
- Repository: https://github.com/MostafaRostami72/react-best-tabs
- Homepage: https://github.com/MostafaRostami72/react-best-tabs#readme
- Issues: https://github.com/MostafaRostami72/react-best-tabs/issues
- npm.io page: https://npm.io/package/react-best-tabs

## Recent versions

- 1.3.3 (latest) — 2022-07-16
- 1.3.2 — 2022-07-05
- 1.3.1 — 2022-07-05
- 1.3.0 — 2022-07-05
- 1.2.0 — 2021-09-06
- 1.1.2 — 2021-01-17
- 1.0.2 — 2021-01-17

## README

# react-best-tabs

> A great package to easily create beautiful tabs in React Js

[![NPM](https://img.shields.io/npm/v/react-best-tabs.svg)](https://www.npmjs.com/package/react-best-tabs) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

![React Best Tabs](src/test.gif)


## Full Document
-   [Document](https://mostafarostami72.github.io/react-best-tabs/)
## Demo
-   [Demo](https://mostafarostami72.github.io/react-best-tabs/)


## Install

```bash
npm install --save react-best-tabs
```

## Usage

```jsx
import React, { Component } from 'react'
import Tabs, {Tab} from 'react-best-tabs';
import 'react-best-tabs/dist/index.css';


class Example extends Component {
  render() {
    return (
        <Tabs
          activeTab="1"
          className=""
          ulClassName=""
          activityClassName="bg-success"
          onClick={(event, tab) => console.log(event, tab)}
        >
            <Tab title="tab 1" className="mr-3">
                <div className="mt-3">
                    Tab 1 content
                </div>
            </Tab>
            <Tab title="tab 2" className="mr-3">
                <div className="mt-3">
                    Tab 2 content
                </div>
            </Tab>
            <Tab title="tab 3" className="mr-3">
                <div className="mt-3">
                    Tab 3 content
                </div>
            </Tab>
        </Tabs>
    )
  }
}
```
## Support
We are glad you choose this package. If this package is useful for you, please give us a star.

## License

MIT © [MostafaRostami72](https://github.com/MostafaRostami72)

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