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

@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

  • 0.1.0-alpha.8dd688ca
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-92.59%
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