
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
@synerise/ds-dropdown
Advanced tools
Dropdown UI Component
Property | Description | Type | Default |
---|---|---|---|
disabled | Whether the dropdown menu is disabled | boolean | - |
getPopupContainer | Function used to set the container of the dropdown menu. The default is to create a div element in body , you can reset it to the scrolling area and make a relative reposition. | Function(triggerNode) | () => document.body |
overlay | Dropdown menu | Menu \ () => Menu | - |
overlayClassName | Class name of the dropdown root element | string | - |
overlayStyle | Style of the dropdown root element | object | - |
placement | Placement of pop menu. | bottomLeft / bottomCenter / bottomRight / topLeft / topCenter / topRight / bottomLeft | - |
trigger | Trigger mode which executes the drop-down action (hover doesn't work on mobile device) | ['hover', 'click', 'contextMenu'] | ['hover'] |
visible | Whether the dropdown menu is visible | boolean | - |
onVisibleChange | A callback executed on visibility changes. | (visible: boolean)=>void | - |
hideOnItemClick | Will hide dropdown on click of an item inside the dropdown changes. Provide a CSS selector of element that should trigger dropdown closing or true to use [role="menuitem"] selector | boolean / string | - |
Property | Description | Type | Default |
---|---|---|---|
onSearchChange | Action triggered after input change | (value: string) => void | - |
placeholder | Input placeholder | string | - |
autofocus | Autofocus input | boolean | - |
Property | Description | Type | Default |
---|---|---|---|
onClickAction | Action triggered on click | () => void | - |
icon | Icon component to show before the text | React.Element | - |
Property | Description | Type | Default |
---|---|---|---|
onClick | Action triggered on click | () => void | - |
label | Label of the button | React.Element | - |
FAQs
Dropdown UI Component for the Synerise Design System
The npm package @synerise/ds-dropdown receives a total of 108 weekly downloads. As such, @synerise/ds-dropdown popularity was classified as not popular.
We found that @synerise/ds-dropdown demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.