{"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, displaying the chosen value in the browser console. The interface renders a label and a `<select>` element using the `Dropdown` component, which maps over an array of pet options and updates state via `onSelectedValueChange`. React hooks, specifically `useState`, manage the selected value, while ReactDOM renders the app into a div with the id `root`. The code imports the `Dropdown` component from a separate file and uses production builds of React and ReactDOM from unpkg.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/39dceeed728444eaa709e928e80861fe?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}