{"version":"1.0","type":"rich","title":"Menu in React","description":"This example shows a simple pet selector menu built with React, displaying a dropdown list of six animal options. The interface presents a label and a select element, with the currently chosen pet highlighted. The app uses React hooks, specifically `useState`, to manage the selected value, starting with `Hamster` as the initial selection. The reusable `Dropdown` component receives the options, an ID, the current value, and a callback to update the selection. ReactDOM renders the application to the root element, with React and ReactDOM loaded from unpkg CDN.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ae986d11dfb74da5a4ec057c9b1e8346?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}