A device having a dipolar ring surrounding an interior region that is disposed asymmetrically on the ring. The dipolar ring generates a toroidal moment switchable between at least two stable states by a homogeneous field applied to the dipolar ring in the plane of the ring. The ring may be made of ferroelectric or magnetic material. In the former case, the homogeneous field is an electric field and in the latter case, the homogeneous field is a magnetic field.