{"version":"1.0","type":"rich","title":"Menus with react","description":"This example demonstrates a dropdown menu for selecting a pet, with a large, centered label and select element. The app uses React’s `useState` hook to track the selected value and passes it to a custom `Dropdown` component, which renders a native `<select>` element with options from a static array. Changes trigger the `onSelectedValueChange` callback, updating the displayed selection. The code relies on React 16.9 and ReactDOM, with no external data source beyond the hardcoded option list.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/97a8b3a26f144c75a89cd4e30cfe0329?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}