# @mohamedbechirmejri/top-drop-down-menu

> Drop down menu module for the odin project.

Latest version **1.0.2** (published 2021-08-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install @mohamedbechirmejri/top-drop-down-menu
pnpm add @mohamedbechirmejri/top-drop-down-menu
yarn add @mohamedbechirmejri/top-drop-down-menu
bun add @mohamedbechirmejri/top-drop-down-menu
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2021-08-15 |
| First published | 2021-08-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | MohamedBechirMejri |
| Maintainers | mohamedbechirmejri |

## Links

- npm: https://www.npmjs.com/package/@mohamedbechirmejri/top-drop-down-menu
- Repository: https://github.com/MohamedBechirMejri/top-drop-down-menu
- Homepage: https://github.com/MohamedBechirMejri/top-drop-down-menu#readme
- Issues: https://github.com/MohamedBechirMejri/top-drop-down-menu/issues
- npm.io page: https://npm.io/package/@mohamedbechirmejri/top-drop-down-menu

## Recent versions

- 1.0.2 (latest) — 2021-08-15
- 1.0.1 — 2021-08-15
- 1.0.0 — 2021-08-15

## README

# top-drop-down-menu aka my first npm package

## What is it?

a nice little nav menu. it's a little quirky but it's my first original animated element so I like it.

## TODO

- collapse when I click anywhere outside the menu

## See it Live (only focus on toggle, rest of the page is not? included in module)

[Demo](https://mohamedbechirmejri.github.io/top-drop-down-menu/)

## installation

`npm install @mohamedbechirmejri/top-drop-down-menu`

## How to use

### import main,js into your project

`import '@mohamedbechirmejri/top-drop-down-menu/src/main'`

### add this to your html file

```html
<nav class="nav">
  <button class="navtoggle"><span class="hamburger"></span></button>
  <div class="navlinks invisible hidden">
    <div class="navlink-container">
      <a class="navlink" href="#">Home</a>
      <a class="navlink" href="#">About</a>
      <a class="navlink" href="#">Contact</a>
    </div>
  </div>
</nav>
```

---
_Source: https://npm.io/package/@mohamedbechirmejri/top-drop-down-menu · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
