# slabs

> slidy-tabs

Latest version **2.0.5** (published 2016-04-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install slabs
pnpm add slabs
yarn add slabs
bun add slabs
```

## 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 | 2.0.5 |
| Published | 2016-04-14 |
| First published | 2014-11-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | korynunn |

## Links

- npm: https://www.npmjs.com/package/slabs
- Repository: https://github.com/KoryNunn/slabs
- Homepage: https://github.com/KoryNunn/slabs#readme
- Issues: https://github.com/KoryNunn/slabs/issues
- npm.io page: https://npm.io/package/slabs

## Dependencies (5)

- [crel](https://npm.io/package/crel.md) ^2.1.5
- [unitr](https://npm.io/package/unitr.md) ^1.1.0
- [doc-js](https://npm.io/package/doc-js.md) ^1.1.6
- [venfix](https://npm.io/package/venfix.md) ^1.1.7
- [interact-js](https://npm.io/package/interact-js.md) ^2.0.1

## Recent versions

- 2.0.5 (latest) — 2016-04-14
- 2.0.4 — 2015-06-30
- 2.0.3 — 2015-06-30
- 2.0.2 — 2015-03-26
- 2.0.1 — 2015-03-23
- 2.0.0 — 2015-03-20
- 1.0.4 — 2014-12-19
- 1.0.3 — 2014-11-15
- 1.0.2 — 2014-11-13
- 1.0.0 — 2014-11-12

## README

# Slabs

slidy-tabs

# usage

    npm install slabs

Then:

```javascript
var Slab = require('slabs');

// Make one
var slab = new Slab();

// Set number of tabs
slab.tabs(3);

// Put content into slab.content, however you want...
crel(slab.content,
    crel('div', {'class':'tab'},
        crel('h1', 'THINGS')
    ),
    crel('div', {'class':'tab'},
        crel('h1', 'STUFF')
    ),
    crel('div', {'class':'tab'},
        crel('h1', 'MAJIGGER')
    ),
    crel('div', {'class':'tab'},
        crel('h1', 'Etc...')
    )
);

// put slab.element into the DOM somewhere.
document.body.appendChild(slab.element);
```

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