{"repo":"react-component/dropdown","free":true,"listed":false,"github":"https://github.com/react-component/dropdown","clone":"git clone https://github.com/react-component/dropdown.git","description":"🔽 A trigger-driven dropdown component for React.","language":"TypeScript","stars":181,"topics":["ant-design","antd","javascript","react","react-component"],"license":"MIT","category":"ui-components","readme_excerpt":"@rc-component/dropdown Part of the Ant Design ecosystem. 🔽 A trigger-driven dropdown component for React. English 简体中文 Highlights - Built on @rc-component/trigger . - Supports hover, click, context menu, and custom trigger actions. - Accepts a React element or render function as dropdown overlay. - Supports align point behavior and trigger-width matching. Install Usage Examples Run the local dumi site: Then open http://localhost:8000 . API Additional props are passed to the underlying @rc-component/trigger component. Property Description Type Default --- --- --- --- alignPoint Align popup to the click point boolean false animation Popup animation name string - arrow Whether to show dropdown arrow boolean false getPopupContainer Container where dropdown is rendered (node: HTMLElement) = HTMLElement () = document.body minOverlayWidthMatchTrigger Whether overlay width should be at least trigger width boolean true unless alignPoint is set openClassName Class name added to trigger when dropdown is open string ${prefixCls}-open overlay Dropdown overlay React.ReactElement \\ (() = React.ReactElement) - overlayClassName Additional overlay class name string - overlayStyle Overlay style React.CSSProperties - placement Dropdown placement string bottomLeft prefixCls Component class name prefix string rc-dropdown transitionName Popup transition class name string - trigger Trigger action ActionType \\ ActionType[] ['hover'] visible Controlled visible state boolean - onOverlayClick Callback ","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-component","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-component/dropdown/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}