{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates how to build an interactive pet selector using React. It renders a dropdown menu with six animal options, and the selected value is displayed in the browser console via `console.log`. The code uses React’s `useState` hook to manage the selected value and a custom `Dropdown` component that maps options to HTML `<select>` elements. The UI is styled with CSS, and the app is mounted with `ReactDOM.render` into a root div.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/740eb83c74574beeadf038353aeb22b2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}