{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a simple pet-selection menu built with React, where users choose from six predefined animal options and the current selection is logged to the console. The interface uses a native HTML `<select>` element wrapped in a reusable `Dropdown` component, which receives `options`, `selectedValue`, and an `onSelectedValueChange` callback via props. The App component manages state with the `useState` hook, initializing the selection to \"hamster\". ReactDOM renders the component tree, while React production builds are loaded from a CDN to support the interactive behavior.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/312cb6c813d74e5e9e53041c558c5acc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}