# @rsuite/tab-nav

> A tab component based on rsuite nav enhancements

Latest version **0.0.2** (published 2019-01-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rsuite/tab-nav
pnpm add @rsuite/tab-nav
yarn add @rsuite/tab-nav
bun add @rsuite/tab-nav
```

## 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.0.2 |
| Published | 2019-01-09 |
| First published | 2019-01-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 21.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Author | simonguo.2009@gmail.com |
| Maintainers | hiyangguo, sevenoutman, simonguo, superman66 |
| Keywords | tab, nav, react, rsuite |

## Links

- npm: https://www.npmjs.com/package/@rsuite/tab-nav
- Repository: https://github.com/rsuite/schema-form
- Homepage: https://github.com/rsuite/schema-form#readme
- Issues: https://github.com/rsuite/schema-form/issues
- npm.io page: https://npm.io/package/@rsuite/tab-nav

## Dependencies (2)

- [prop-types](https://npm.io/package/prop-types.md) ^15.6.2
- [element-resize-event](https://npm.io/package/element-resize-event.md) ^3.0.3

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2019-01-09
- 0.0.1 — 2019-01-09

## README

# TabNav

A tab component based on rsuite nav enhancements.

## features

- Support for removable tabs.
- Support for automatic folding options when a row can not show all options.

## Installation

```
npm install @rsuite/tab-nav --save
```

## Usage

```js
import TabNav from "@rsuite/tab-nav";
const App = () => {
  return (
    <TabNav>
      <TabNav.Item eventKey="A">Item A</TabNav.Item>
      <TabNav.Item eventKey="B">Item B</TabNav.Item>
      <TabNav.Item eventKey="C">Item C</TabNav.Item>
      <TabNav.Item eventKey="D">Item D</TabNav.Item>
      <TabNav.Item eventKey="E">Item E</TabNav.Item>
    </TabNav>
  );
};

ReactDOM.render(<App />, mountNode);
```

## Props

`TabNav` extends all the props of [`Nav`](https://rsuitejs.com/en/components/nav) and also supports:



| Property     | Type`(Default)`  | Description                                 |
| ------------ | ---------------- | ------------------------------------------- |
| moreProps    | object           | More drop-down menu props                   |
| moreText     | React.Node       | More text displayed on the drop-down        |
| onItemRemove | (eventKey)=>void | The callback function when removing options |
| removable    | boolean          | Options can be removed                      |


## License

MIT licensed

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