{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a simple pet-selection menu built with React, displaying a dropdown list of six animal options and logging each chosen value to the console. It shows how React state manages the selected option through the `useState` hook, with the `Dropdown` component receiving options, an ID, and a change handler as props. The rendering uses ReactDOM to mount the app into the DOM, while the dropdown’s `onChange` event triggers updates to the selected value. The code includes inline HTML styling for large label and select text, and relies on React 16.9 from a CDN.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/bff2b478381e4746a2a57aa639a6824d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}