@lucyderojas/menu13

1.1.13 • Public • Published




component to for setting up menu with links to pages.

Installation:

npm i @lucyderojas/menu13

Import:

import Menu from '@lucyderojas/menu13/dist/Menu';

Use with default values:

<Menu />


Customise your

<Menu

pages = {['page1', 'page2', ...]}
width= '50%' || '600px'
cornerRadius = '50%' || '6px''
align = 'left' || 'center' || 'right'

#basic colors:
backgroundBasic = 'red' || 'rgb(1,2,3)' || 'hls(1,2,3)' || '#ffffff'
colorBasic = 'white' || 'rgb(1,2,3)' || 'hls(1,2,3)' || '#000000'

#colours on hover:
backgroundHover = 'white' || 'rgb(1,2,3)' || 'hls(1,2,3)' || '#gggggg'
colorHover = 'white' || 'rgb(1,2,3)' || 'hls(1,2,3)' || '#rrrrrr'

#colours of selected item:

backgroundSelected = 'blue' || 'rgb(1,2,3)' || 'hls(1,2,3)' || '#333333'
colorSelected = 'white' || 'rgb(1,2,3)' || 'hls(1,2,3)' || '#wwwwww'

/>



Github & NPM source code:




Comments Welcome

Any issues or suggestions welcome.



Version:

>> Next version link <<



Colaboration

Always on look out for projects to get my hand dirty.

Package Sidebar

Install

npm i @lucyderojas/menu13

Weekly Downloads

26

Version

1.1.13

License

none

Unpacked Size

14.4 kB

Total Files

6

Last publish

Collaborators

  • lucyderojas