https://github.com/zertz/react-headless-tabs
Headless and highly flexible tab-like primitives built with react hooks
https://github.com/zertz/react-headless-tabs
component headless hooks react react-hooks tabs
Last synced: 6 months ago
JSON representation
Headless and highly flexible tab-like primitives built with react hooks
- Host: GitHub
- URL: https://github.com/zertz/react-headless-tabs
- Owner: Zertz
- License: mit
- Created: 2020-09-11T01:07:32.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-19T17:04:32.000Z (over 2 years ago)
- Last Synced: 2024-10-12T10:18:23.898Z (12 months ago)
- Topics: component, headless, hooks, react, react-hooks, tabs
- Language: TypeScript
- Homepage: https://react-headless-tabs.pierluc.io/
- Size: 1.79 MB
- Stars: 125
- Watchers: 2
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-headless-tabs
[](https://www.npmjs.com/package/react-headless-tabs) [](https://bundlephobia.com/result?p=react-headless-tabs)
> Headless and highly flexible tab-like primitives built with react hooks
๐ **Check out the [documentation](https://react-headless-tabs.pierluc.io/#documentation) and [interactive examples](https://react-headless-tabs.pierluc.io/#examples)!**
## Features
- ๐ฑ Well under 1KB minified and gzipped!
- ๐ Bring your own DOM!
- โจ Correctly handles dynamic tabs, no more empty tab panels!
- ๐คนโโ๏ธ Well suited for complex use cases, including drag and drop!
- ๐ Mix and match render and unmount strategies for the best performance and user experience!
- ๐ค Available as ESM and CJS!## Getting started
**npm**
```
npm install react-headless-tabs
```