A novel fluorescent π-gelator, incorporating a crown ether with host-guest recognition capability and a photoactive cyanostilbene unit, was designed. This unique structure enables the successful transition from a one-component gel to a two-component gel and exhibits gel-sol transition behaviors under heat, ions, and light stimuli.