# react-native-circular-tabs

> A react native library to provide tab view in your app with cyclic swipes. It also supports dynamically add and remove tabs

Latest version **1.0.2** (published 2022-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-circular-tabs
pnpm add react-native-circular-tabs
yarn add react-native-circular-tabs
bun add react-native-circular-tabs
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-12-17 |
| First published | 2022-12-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Shamshad Khan |
| Maintainers | khanshamshad |
| Keywords | react, react native, circular tabs, carousel |

## Links

- npm: https://www.npmjs.com/package/react-native-circular-tabs
- Repository: https://github.com/khanshamshad32/react-native-circular-tab
- Homepage: https://github.com/khanshamshad32/react-native-circular-tab#readme
- Issues: https://github.com/khanshamshad32/react-native-circular-tab/issues
- npm.io page: https://npm.io/package/react-native-circular-tabs

## Dependencies (1)

- [react-native-gesture-handler](https://npm.io/package/react-native-gesture-handler.md) ^2.8.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

- 1.0.2 (latest) — 2022-12-17
- 1.0.1 — 2022-12-17
- 1.0.0 — 2022-12-17

## README

## react-native-circular-tabs

A react native library to provide tab view in your app with cyclic swipes. It also supports dynamically add and remove tabs


<img src='https://user-images.githubusercontent.com/32536287/206971655-6af957d7-d33b-4a17-a388-72757a028446.gif' width='30%' />


### Usage

`import CircularTabView from 'react-native-circular-tabs';`

`<CircularTabView
  tabs={tabs}
  renderTab={renderTab}
  activeTab={activeTab}
  animated
  cyclicSwipeEnable
  onTabActive={setActiveTab}
/>`

##### Props 
- tabs: any[];  // Array of tabs data
- activeTab?: number; // index of active tab
- animated?: boolean; // showing tab switching be animated when activetab changes
- cyclicSwipeEnable?: boolean;   // allow cyclic tabs
- renderTab: (tab: any) => React.ReactElement;  // tab content
- onTabActive: (index: number) => void;   // on actiev tab changes by swiping

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