
A saffron pill slides between shop categories and the list swaps with it. A free, live navigation component.
Updated November 2026
Use it to split a catalogue or page into up to about four sections people can switch between. The list swaps in place, so people keep their position on the page. For longer lists of categories, a scrolling row or a menu will fit better.
npm i exodeui.ExodeUICanvas. Taps and hovers work out of the box, and fireTrigger plays it from your code.import { ExodeUICanvas, useExodeUI } from 'exodeui';
export function DiwaliTabs() {
const { setEngine, fireTrigger } = useExodeUI();
return (
<>
<div style={{ width: 400, height: 300 }}>
<ExodeUICanvas
src="/ui-gallery/files/diwali-tabs.bexode"
autoPlay
onReady={setEngine}
style={{ width: '100%', height: '100%' }}
/>
</div>
{/* Optional: taps on the canvas already work */}
<button onClick={() => fireTrigger('in_tab_sweets')}>Play from code</button>
</>
);
}