# sf-dropdown-menu

> straightforward dropdown menu

Latest version **1.0.0** (published 2020-01-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install sf-dropdown-menu
pnpm add sf-dropdown-menu
yarn add sf-dropdown-menu
bun add sf-dropdown-menu
```

## 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.0 |
| Published | 2020-01-02 |
| First published | 2020-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | nurcos |
| Maintainers | nurcos |
| Keywords | dropdown, menu |

## Links

- npm: https://www.npmjs.com/package/sf-dropdown-menu
- Repository: https://github.com/nurcos/sf-dropdown-menu
- Homepage: https://github.com/nurcos/sf-dropdown-menu#readme
- Issues: https://github.com/nurcos/sf-dropdown-menu/issues
- npm.io page: https://npm.io/package/sf-dropdown-menu

## Recent versions

- 1.0.0 (latest) — 2020-01-02

## README

DEMO: https://ryancurson.co.uk/sf-dropdown-menu/

# sf-drop-down-menu
Straightforward drop-down menu made in vanilla JS

# Installation
```
npm install --save sf-dropdown-menu
```

Then

```
import { dropdown } from 'dropdown'

dropdown();
```

# How to use
```
<div class="dropdown-menu-container">
    <div class="menu dropdown-menu">Menu Name</div>
        <ul class="submenu-container">
        <li class="menu">Sub-menu 1</li>
        <li class="menu">Sub-menu 2</li>
        <li class="menu">Sub-menu 3</li>
        </ul>
</div>
```

```
<link rel="stylsheet" href="path/to/dropdown.css>
```

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