New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@labrnth/menu

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@labrnth/menu

A menu component.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

@labrnth/menu

A menu component. Built on react-menu.

Installation

yarn add @labrnth/menu

Usage

import Menu from '@labrnth/menu';

<Menu />

Props

PropTypeDefaultDescription
childrenReact.ReactNodeThe contents of the Menu.
componentanyThe trigger component of the Menu.
align?start, center, endstartThe point of alignment between the menu and the anchor.
direction?left, right, top, bottombottomThe direction the menu will be expanded.
position?auto, anchor, initialinitialThe position applied to the menu.
viewScroll?auto, close, initialinitialThe behaviour of the menu when scrolling.
withAnimation?booleantrueWhether to apply an animation on the expanding menu.
withArrow?booleanfalseWhether to apply an arrow to the expanded menu.
withOffset?booleanfalseWhether to apply an offset between the anchor and the expanded menu.
offsetValue?number12When using an offset, this is the value of the offset.

FAQs

Package last updated on 21 May 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