{"version":"1.0","type":"rich","title":"React Menus","description":"This example shows a React-based user interface for selecting a pet from a dropdown menu, displaying the chosen option as plain text next to the label. The app uses the `useState` hook to manage the selected value and passes it to a custom `Dropdown` component, which renders a native HTML `<select>` element. The `Dropdown` component receives an array of option objects (each with `value` and `label` properties) and triggers an `onSelectedValueChange` callback on user interaction. The code leverages React and ReactDOM to mount the application to a root `div` element, with the `index.html` file linking to React 17 production builds.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/48a435a6925d456583fda623c28d9280?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}