Socket
Socket
Sign inDemoInstall

@hig/dropdown

Package Overview
Dependencies
Maintainers
5
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/dropdown

HIG Dropdown


Version published
Weekly downloads
38
decreased by-76.54%
Maintainers
5
Weekly downloads
 
Created
Source

Dropdown

Dropdowns provide a menu to select one or many from a list of more than 4 items.

Read more about when and how to use the Dropdown component on the website.

Getting started

Install the package

yarn add @hig/dropdown

Import the component and CSS

import Dropdown from '@hig/dropdown';
import '@hig/dropdown/build/index.css';

Basic usage

<Dropdown
  label="Uncontrolled Dropdown"
  instructions="instructions for regular Uncontrolled dropdown"
  placeholder="placeholder for regular Uncontrolled dropdown"
  options={[
    {
      label: "foo",
      value: "foo value"
    },
    {
      label: "bar",
      value: "bar value"
    }
  ]}
/>

FAQs

Package last updated on 18 May 2018

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