{"version":"1.0","type":"rich","title":"Menus with React","description":"This example shows a simple pet selector interface built with React. A dropdown menu lets a user choose from a list of animals—dog, cat, hamster, parrot, spider, and goldfish—with the currently selected value displayed via a console log. The implementation uses React's `useState` hook to track the selected value and a custom `Dropdown` component that renders an HTML `<select>` element, mapping options with `options.map`. The app is mounted into the DOM using `ReactDOM.render` from the ReactDOM library, with the UI styled through inline CSS in the index.html file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7ba730b2c4f1489295a0a607453c5cef?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}