{"version":"1.0","type":"rich","title":"Menus with React","description":"This example shows a pet-selection menu built with React, displaying a dropdown of six animal options and a label that updates based on the user’s choice. The code uses React’s `useState` hook to manage the selected value and a custom `Dropdown` component that renders a native `<select>` element with `onChange` event handling. It integrates React 16.9 with the `ReactDOM.render` API to mount the app into the DOM, while styling is handled through inline CSS in the `index.html` file.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/1cf1bb459b9b49d690bac816ab9e0e9a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}