Socket
Socket
Sign inDemoInstall

@owlui/dropdown

Package Overview
Dependencies
59
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

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
Weekly downloads
1

Weekly downloads

Readme

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

Last updated on 20 Oct 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc