A reusable themed dropdown component.
This dropdown responds to theme changes (light/dark) via Zustand store.
<Dropdown label="Select option" options={[ { label: 'Option 1', value: 'option1' }, { label: 'Option 2', value: 'option2' } ]} value={selected} onChange={(val) => setSelected(val)}/> Copy
<Dropdown label="Select option" options={[ { label: 'Option 1', value: 'option1' }, { label: 'Option 2', value: 'option2' } ]} value={selected} onChange={(val) => setSelected(val)}/>
The dropdown properties including dynamic theming support.
A themed dropdown element.
A reusable themed dropdown component.
Remarks
This dropdown responds to theme changes (light/dark) via Zustand store.
Example