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

@cocokits/angular-menu

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocokits/angular-menu

The `@cocokits/angular-menu` package provides essential components and directives to create interactive and dynamic menus within your Angular applications. These menus display a list of actions or options, making them a flexible solution for enhancing nav

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-95.59%
Maintainers
0
Weekly downloads
 
Created
Source

@cocokits/angular-menu

The @cocokits/angular-menu package provides essential components and directives to create interactive and dynamic menus within your Angular applications. These menus display a list of actions or options, making them a flexible solution for enhancing navigation and user interaction. The package is fully compatible with various design systems, ensuring that your menus will be consistent with the overall look and feel of your application.

Included Component/Directive:

This package includes the following components and directives:

  • MenuComponent
  • MenuItemsDirective
  • MenuTriggerDirective

MenuComponent

The MenuComponent is a floating panel that displays a structured list of actions or options in response to user interactions like clicks, hovers, or other triggers. This component is ideal for providing users with multiple choices in a compact and intuitive interface.

Features:
  • Dynamic Menu Display: The menu appears when triggered by various user actions, such as button clicks or hovering, enhancing the user experience with quick access to options.
  • Structured Options Presentation: Presents actions or options in an organized manner, making navigation within the application more intuitive.
  • Theming Compatibility: Seamlessly integrates with a wide range of design system themes, ensuring a consistent and visually appealing experience across different interface styles.

MenuItemsDirective

The MenuItemsDirective is used to define the items or options within the MenuComponent. This directive allows for flexible and customizable lists of actions, ensuring that the menu adapts to the specific needs of your application.

MenuTriggerDirective

The MenuTriggerDirective is responsible for controlling how and when the MenuComponent is triggered. Whether the menu is activated by a click, hover, or focus, the directive provides easy-to-configure triggers for showing or hiding the menu.

Styling and Theming

The components in this package do not include built-in styles. However, @cocokits/angular-menu adds CSS classes based on your configuration, allowing you to style the menu elements with your own CSS or integrate a theme from CocoKits.

CocoKits provides ready-made theming options, but you can also style the components yourself using custom CSS or SCSS to suit your design needs.

Documentation and Example

For detailed usage examples, configuration options, and additional documentation, visit the following link:

  • MenuComponent

FAQs

Package last updated on 12 Nov 2024

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