{"version":"1.0","type":"rich","title":"Menus with React","description":"An interactive dropdown menu for selecting a pet is rendered with React and ReactDOM. The component manages its own state via the `useState` hook, updating the selected value and logging it to the console whenever the user changes the option. A custom `Dropdown` component maps over a static array of pet options to generate the `<select>` element, and the selection is controlled by `onSelectedValueChange` callbacks. The interface is styled with CSS, and the example uses React 16.9.0 from the unpkg CDN.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4cc3d65d2cae4fee9975b6057d749050?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}