{"version":"1.0","type":"rich","title":"Menus with React","description":"This example shows a React-based menu system for selecting a pet from a dropdown list, using the `useState` hook to track the currently chosen value and the `Dropdown` component to render the select element. The code relies on React 17 and ReactDOM for component rendering, with options defined as an array of value-label pairs. As users change the selection, the `onSelectedValueChange` callback updates the displayed state, demonstrating controlled form inputs within a React application.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3d643b70446447c0b207867a3bba91a8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}