{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a simple interactive menu built with React. It shows a dropdown select field where the user can choose a pet from a predefined list, and the selected value is logged to the console and stored in state. The code uses React’s `useState` hook to manage the selected value and renders a custom `Dropdown` component that wraps a native HTML `<select>` element. It relies on ReactDOM to mount the app into the DOM, with React and ReactDOM loaded from UMD production builds.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c85fc2e8f4c94ed7b4fda5363fdf060b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}