{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a React-based dropdown menu for selecting a pet from a predefined list. It uses React’s `useState` hook to manage the selected value, which is initialized to \"hamster\" and logged to the console on each change. The custom `Dropdown` component receives options, an id, the selected value, and a callback to update state, rendering native `<select>` and `<option>` elements. The UI is styled with custom CSS for enlarged font sizes, and ReactDOM renders the app into the root element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/39d809471df6412ab48af8ba5708cc84?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}