{"version":"1.0","type":"rich","title":"Menus","description":"This example shows a simple pet-selection menu in React. The interface displays a label and a dropdown menu; when a user picks a new option, the selection updates in real time. The code uses the React `useState` hook to manage the selected value and a custom `Dropdown` component that renders a native HTML `<select>` element. It leverages the `onChange` event handler to trigger state updates, with options defined as an array of value-label pairs.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e8f53b0517c5479c8bc31f47c3b6990a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}