{"version":"1.0","type":"rich","title":"Fork of Menus with React","description":"This example demonstrates interactive dropdown menus built with React, allowing users to select a pet from a list of six options. The interface pairs a label with a `<select>` element, where the chosen value is tracked in state and logged to the console on change. The code uses React hooks like `useState` for managing the selected value and renders the dropdown via a reusable `Dropdown` component that maps over option objects. ReactDOM renders the root app, with the dropdown styled using inline CSS in the HTML file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/413e2333c0dc4f0d808af3b192223901?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}