{"version":"1.0","type":"rich","title":"Menus with React","description":"This example shows a pet-selection menu built with React, demonstrating how to manage form state with the `useState` hook and a reusable `Dropdown` component. The interface displays a label and a `<select>` element with five animal options, defaulting to \"hamster\"; changing the selection logs the chosen value to the console. The code uses React and ReactDOM from UMD builds, along with JSX syntax, to render the component tree into the `#root` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/acc28a690a8d431097b0f2bef95a433b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}