{"version":"1.0","type":"rich","title":"Menus with React","description":"A React app renders a pet-selection menu with a labeled dropdown. The component tracks the selected animal in state and logs each change to the console. Options are defined in a static array and passed to a reusable `Dropdown` component, which builds a native `<select>` element with `<option>` children. The example uses React's `useState` hook and the ReactDOM `render` method, along with the component's `onSelectedValueChange` callback to update the selection.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/207e2cee7f5c41f99d1e7b2977ada3e3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}