# grapesjs-tabs

> Simple tabs component plugin for GrapesJS

Latest version **1.0.6** (published 2021-02-19) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install grapesjs-tabs
pnpm add grapesjs-tabs
yarn add grapesjs-tabs
bun add grapesjs-tabs
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2021-02-19 |
| First published | 2018-01-26 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 56.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 40 |
| Author | Artur Arseniev |
| Maintainers | artf |
| Keywords | grapesjs, plugin, tabs, wysiwyg |

## Links

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

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 1.0.6 (latest) — 2021-02-19
- 1.0.18 (rc) — 2025-02-25
- 0.2.2 — 2019-12-01
- 0.2.1 — 2019-09-16
- 0.1.2 — 2018-02-09
- 0.1.1 — 2018-01-26

## README

# GrapesJS Tabs

Simple tabs component plugin for GrapesJS

<p align="center"><img src="http://grapesjs.com/img/tabs.gif" alt="GrapesJS Tabs" align="center"/></p>


[Demo](http://grapesjs.com/demo.html)


## Requirements
* GrapesJS v0.13.8 or higher


## Summary

* Plugin name: `grapesjs-tabs`
* Components
  * `tabs` - Main tabs component
  * `tab-container` - Component which contains single tabs
  * `tab` - Single tab component
  * `tab-content` - Tab's content
  * `tab-contents` - Component containing tab contents
* Blocks
  * `tabs`





## Options

You can see all the available options [here](https://github.com/artf/grapesjs-tabs/blob/master/src/options.js).



## Download

* CDN
  * `https://unpkg.com/grapesjs-tabs`
* NPM
  * `npm i grapesjs-tabs`
* GIT
  * `git clone https://github.com/artf/grapesjs-tabs.git`





## Usage

```html
<link href="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet"/>
<script src="https://unpkg.com/grapesjs"></script>
<script src="path/to/grapesjs-tabs.min.js"></script>

<div id="gjs"></div>

<script type="text/javascript">
  var editor = grapesjs.init({
      container : '#gjs',
      ...
      plugins: ['grapesjs-tabs'],
      pluginsOpts: {
        'grapesjs-tabs': {
          // options
        }
      }
  });
</script>
```





## Development

Clone the repository

```sh
$ git clone https://github.com/artf/grapesjs-tabs.git
$ cd grapesjs-tabs
```

Install dependencies

```sh
$ npm i
```

Start the development server

```sh
$ npm start
```





## License

BSD 3-Clause

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