Socket
Socket
Sign inDemoInstall

@owlui/dropdown

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@owlui/dropdown

Toggle contextual overlays for displaying lists of links and more with the Bootstrap dropdown plugin


Version published
Maintainers
4
Created
Source

Dropdown Overview

Toggle contextual overlays for displaying lists of links and more with the Bootstrap dropdown plugin

Usage

Import or create an array of item objects, where each item has an id (string), a label (string), and a value; pass the items to the Dropdown component as a prop.

import { component as Dropdown } from '@owlui/dropdown';

const items = [
  {
    id: '1',
    label: 'Item 1',
    value: 'item1',
  },
  {
    id: '2',
    label: 'Item 2',
    value: undefined,
  },
  {
    id: '3',
    label: 'Item 3',
    value: undefined,
  },
];

<Dropdown items={items} />;

FAQs

Package last updated on 01 Sep 2022

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