Skip to content

Repository files navigation

GrapesJS Tabs

Simple tabs component plugin for GrapesJS

GrapesJS Tabs

Demo

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.

Download

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

Usage

<linkhref="https://unpkg.com/grapesjs/dist/css/grapes.min.css" rel="stylesheet" /><scriptsrc="https://unpkg.com/grapesjs"></script><scriptsrc="path/to/grapesjs-tabs.min.js"></script><divid="gjs"></div><scripttype="text/javascript">vareditor=grapesjs.init({container : '#gjs',
...
plugins: ['grapesjs-tabs'],pluginsOpts: {'grapesjs-tabs': {// options}}});</script>

Development

Clone the repository

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

Install dependencies

$ npm i

Start the development server

$ npm start

License

BSD 3-Clause

About

Simple tabs component plugin for GrapesJS

Resources

Stars

39 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages