# vdom-sidebar

> virtual-dom sidebar component

Latest version **0.0.6** (published 2015-10-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install vdom-sidebar
pnpm add vdom-sidebar
yarn add vdom-sidebar
bun add vdom-sidebar
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2015-10-07 |
| First published | 2015-10-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nick Thomas |
| Maintainers | nichoth |
| Keywords | virtual-dom, component, mercury, ui, navigation, sidebar |

## Links

- npm: https://www.npmjs.com/package/vdom-sidebar
- Repository: https://github.com/nichoth/vdom-sidebar
- Homepage: https://github.com/nichoth/vdom-sidebar#readme
- Issues: https://github.com/nichoth/vdom-sidebar/issues
- npm.io page: https://npm.io/package/vdom-sidebar

## Dependencies (6)

- [xtend](https://npm.io/package/xtend.md) ^4.0.0
- [observ](https://npm.io/package/observ.md) ^0.2.0
- [lodash.map](https://npm.io/package/lodash.map.md) ^3.1.4
- [css-spinner](https://npm.io/package/css-spinner.md) 0.0.2
- [virtual-dom](https://npm.io/package/virtual-dom.md) ^2.1.1
- [observ-struct](https://npm.io/package/observ-struct.md) ^6.0.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.6 (latest) — 2015-10-07
- 0.0.5 — 2015-10-06
- 0.0.4 — 2015-10-05
- 0.0.3 — 2015-10-02
- 0.0.1 — 2015-10-02

## README

# vdom sidebar

virtual-dom sidebar component

## install

    $ npm install vdom-sidebar

## example

```js
var createElement = require('virtual-dom/create-element');
var Sidebar = require('vdom-sidebar');

var items = {
  examplePage: { href: '/example', name: 'Example' },
  anotherPage: { href: '/another-page', name: 'Another Page' }
};

var sidebarState = Sidebar({
  items: items
});

var virtualEl = Sidebar.render(sidebarState);
var el = createElement(virtualEl);

document.getElementById('content').appendChild(el);
```

## demo

https://1b2b483006caf4a3a131e4ab0150fcec25b38e7d.htmlb.in

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