4.0.9 • Published 6 years ago

@firstfeb/menu v4.0.9

Weekly downloads
20
License
No Licence
Repository
-
Last release
6 years ago

Menu

Responsive SPA menu.

Installing

Using npm:

$ npm install @firstfeb/menu

Example

import Menu from '@firstfeb/menu';

// Set items
let menuItems = [{
    title: "Home",
    icon: <svg>...</svg>, // Use fill="currentColor" to make the svg blend in better
    url: "/"
},{
    title: "Help",
    pushDown: true, // Pushes this item down using margin-top: auto
    icon: <svg>...</svg>,
    url: "/help"
},{
    title: "Logout",
    icon: <svg>...</svg>,
    url: "/logout"
}];

// Render
<Menu items={menuItems}/>

Copyright

Copyright (c) 2019-present First Feb AB

Licence

No licence available. Do not use without the permission of the author.

4.0.9

6 years ago

4.0.8

6 years ago

4.0.7

6 years ago

4.0.6

6 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago