{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a dropdown menu for selecting a pet, with the chosen value displayed in the browser’s console. The interface shows six options (Dog, Cat, Hamster, Parrot, Spider, Goldfish) with Hamster preselected. Built with React, it uses the `useState` hook to manage the selected value and a custom `Dropdown` component that renders a native `<select>` element. The component receives options, an id, and callbacks for selection changes, updating the state whenever the user picks a different option.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/79604ef37ee04a829e68ff75feaa9d74?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}