{"version":"1.0","type":"rich","title":"dropdown menu 1","description":"This example shows a React-based dropdown menu for selecting a pet from a list of six options, with the chosen value displayed via a console log. It demonstrates controlled component state using React’s `useState` hook, passing the selected value and an update function to a reusable `Dropdown` component. The component renders a native HTML `<select>` element, mapping over an array of option objects with `value` and `label` properties, and marks the current selection with the `selected` attribute. The app is mounted with `ReactDOM.render` into a root div, styled with large fonts in the HTML.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ada1a90a460048b7bed8c4d242ecb51b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}