{"version":"1.0","type":"rich","title":"Menus with React","description":"This example shows a pet-selection menu built as a React component, demonstrating how to manage and update a dropdown’s state. The `Dropdown` component renders a native `<select>` element, mapping an array of pet options into `<option>` tags. The main `App` component uses React’s `useState` hook to track the selected value, initially set to “goldfish,” and passes both the current value and an `onSelectedValueChange` callback to update it on user interaction. The UI is styled with large labels and select text, and the example runs in a browser using ReactDOM to mount the app.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ca1ece1e99d24142a49a5db9ce66dae8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}