
Eight diyas circle a small rangoli, with the light passing from flame to flame. A free, live rangoli loader for sites and apps.
Updated November 2026
This is the diya animation in the set: the light passes round a ring of lamps. It is the most obviously Diwali of the loaders, so it fits a festive page but will look out of place for the rest of the year.
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 DiyaRingLoader() {
const { setEngine, fireTrigger } = useExodeUI();
return (
<>
<div style={{ width: 400, height: 300 }}>
<ExodeUICanvas
src="/ui-gallery/files/diya-ring-loader.bexode"
autoPlay
onReady={setEngine}
style={{ width: '100%', height: '100%' }}
/>
</div>
{/* Optional: taps on the canvas already work */}
<button onClick={() => fireTrigger('in_whirl')}>Play from code</button>
</>
);
}