Day & Night free toggle switch
Scenery
A sky turns from day to night; the sun sets into the moon with stars. Our first pick: a scenery toggle with 5 inputs your code can drive, in a 622-byte file.
Free · Toggles · Updated November 2026
Five animated toggle switches you can use for free, chosen from the 100 in Exode Galleries. Each one is live below. Open it in ExodeUI, change anything, and play the same file in React, Vue, Svelte, Angular, Solid, React Native, SwiftUI and Flutter.
Scenery
A sky turns from day to night; the sun sets into the moon with stars. Our first pick: a scenery toggle with 5 inputs your code can drive, in a 622-byte file.
Characters
A cat peeks over the track when it turns on. It is a characters toggle with 5 inputs your code can drive, in a 622-byte file.
Knob Physics
A soft knob that wobbles when it lands. It is a knob physics toggle with 5 inputs your code can drive, in a 625-byte file.
Icon Morph
The sun pulls in its rays and becomes a crescent moon. It is a icon morph toggle with 5 inputs your code can drive, in a 628-byte file.
Scenery
Windows light up across a skyline as night falls. It is a scenery toggle with 5 inputs your code can drive, in a 621-byte file.
Use it as a checklist when you compare the picks above. Each one is a native toggle in ExodeUI, so whatever is missing you change in the editor instead of rewriting code.
| # | Design | Category | Inputs | File |
|---|---|---|---|---|
| 1 | Day & Night | Scenery | 5 | 622 B |
| 2 | Peeking Cat | Characters | 5 | 622 B |
| 3 | Jelly Knob | Knob Physics | 5 | 625 B |
| 4 | Sun / Moon | Icon Morph | 5 | 628 B |
| 5 | City Lights | Scenery | 5 | 621 B |
The code for #1, Day & Night, with its real file and input names. Every pick works the same way.
npm install exodeuiimport { useEffect } from 'react';
import { ExodeUICanvas, useExodeUI } from 'exodeui';
export function DayNight() {
const { engine, setEngine, updateInput, fireTrigger } = useExodeUI();
useEffect(() => {
updateInput("Day & Night · On", true);
}, [engine]);
return (
<>
<ExodeUICanvas src="/day-night.bexode" onReady={setEngine} />
</>
);
}Yes. They come from Toggle Studio, which is built into the ExodeUI editor and included in the free Community plan, and every runtime is free.
All 100 toggles in Exode Galleries are live on the page and free to open. This list is our top five.
From the 100 toggles in Exode Galleries, for range (each pick moves differently), for how much of the design is wired to inputs your code can use, and for how well it reads at small sizes. These are our picks from our own library, not a survey of other products.
Each one is a single .exode file that plays in React, Vue, Svelte, Angular, Solid, React Native, SwiftUI and Flutter.
Yes. Open one in ExodeUI and every part is a native layer: colours, type, motion and logic. The input names stay the same, so your code keeps working.
Free to start. Every studio behind this library is built into the editor, and everything it makes stays native and editable.
Try ExodeUI for free