Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@acodez/menu

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acodez/menu

navigation menu

  • 1.0.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

@acodez/menu

npm_version license

React menu component with dark & light theme, and more customizations.


  • Installation
  • PropsAPI
  • Usage

Installation

npm install @acodez/menu

Props API

PropertyTypeRequiredDescription
themestringnonav theme dark or light
directionstringnonav item alignment vertical or horizontal
borderstringnonav item divider blank or divider
hoverStylestringnonav item hover style button or plain
linkstringyesmenu link
labelstringnomenu label
imageSrcstringnoicon image src
cornerstringnoitem border radius, square or round

Usage

import NavList from "@acodez/menu";
      
<NavList theme="dark" direction="horizontal" border="divider" hoverStyle="button"
    items={[
    {
        link: "/link1", // link
        label: "Dashboard", // text
        imageSrc: ItemIcon, // icon src - url
        corner: "round", // border radius
    },
    {
        link: "/link2",
        label: "Students",
        imageSrc: ItemIcon,
    },
    {
        link: "/link3",
        label: "Exams",
        imageSrc: ItemIcon,
    },
    {
        link: "/link4",
        label: "Settings",
        imageSrc: ItemIcon,
    },
    ]}
/>

Keywords

FAQs

Package last updated on 08 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc