Skip to content
Codex DesignBETA

Toggle switch animation prompt for GPT Image 2.6

A looping GIF of a settings toggle switching on: the knob slides right, the track fills green and the label changes from Off to On.

Prompt
A looping animation of a settings toggle switching from off to on: the knob slides right, the track fills with green, and a small label changes from "Off" to "On". Minimal UI, white background.
Works with
GPT Image 2.6
From the set
GPT Image 2.6 prompts

About this prompt

The smallest interaction in the set: a settings toggle goes from off to on, the knob slides right, the track fills with green and a small label changes from “Off” to “On”, on a minimal white background. Small as it is, it’s a useful check of how your switch looks in both states and in between.

Replace green with your accent color and the labels with your own copy, or remove the label entirely if your switches don’t use one. To see it in context, add the setting name to the left of the switch, for example “Email notifications”.

A single control on a plain background doesn’t need much planning, so this is a reasonable place to try a lower complexity setting and compare it with the default. Ask for the animation with output_format set to “gif”, then have Codex build the switch as an accessible HTML checkbox with the same transition.

More prompts from this set

An independent plugin for Codex. Not affiliated with or endorsed by OpenAI.