First, we use the useState hook to set the variable display and the function to set it, setDisplay. GitHub Dropdown state is not fully managed when using the subcomponent API. Implement your Dropdown as console. A drop-down menu is a menu with a list of options.