Ophthalmic device (25, 30) comprising: - an ophthalmic lens for spectacles, which ophthalmic lens is associated with at least one electro-controlled functionality and comprises two shells (10 and 20, 31 and 32) each having an inner surface (312 and 322) and an outer surface (311 and 321), said inner surfaces of said shells being arranged so as to form a cavity within which an electrochromic material is arranged, said shells being provided with conductive strips (12, 22) on an outline corresponding to said cavity, and - at least one electronic device (26, 27, 28, 34 and 35) that is configured to activate said electro-controlled functionality and that is arranged in material continuity with said ophthalmic lens, characterized in that said conductive strips make an electrical connection with said electronic device, the ophthalmic lens comprising two major surfaces and an edge linking said two major surfaces, and the electronic device (34 and 35) being arranged on a material portion in continuity with the edge of said ophthalmic lens, in said zone outside the outline corresponding to said cavity, on a substantially parallelepipedal part that is inserted between said shells (31 and 32), said part having an end joining said shells to each other in the manner of a spacer of given thickness to ensure material continuity between said shells (31, 32) and the electronic device, the electronic device (26, 27, 28, 34 and 35) being arranged on the other end of the part. - an ophthalmic lens for spectacles, which ophthalmic lens is associated with at least one electro-controlled functionality and comprises two shells (10 and 20, 31 and 32) each having an inner surface (312 and 322) and an outer surface (311 and 321), said inner surfaces of said shells being arranged so as to form a cavity within which an electrochromic material is arranged, said shells being provided with conductive strips (12, 22) on an outline corresponding to said cavity, and - at least one electronic device (26, 27, 28, 34 and 35) that is configured to activate said electro-controlled functionality and that is arranged in material continuity with said ophthalmic lens, characterized in that said conductive strips make an electrical connection with said electronic device, the ophthalmic lens comprising two major surfaces and an edge linking said two major surfaces, and the electronic device (34 and 35) being arranged on a material portion in continuity with the edge of said ophthalmic lens, in said zone outside the outline corresponding to said cavity, on a substantially parallelepipedal part that is inserted between said shells (31 and 32), said part having an end joining said shells to each other in the manner of a spacer of given thickness to ensure material continuity between said shells (31, 32) and the electronic device, the electronic device (26, 27, 28, 34 and 35) being arranged on the other end of the part. characterized in that said conductive strips make an electrical connection with said electronic device, the ophthalmic lens comprising two major surfaces and an edge linking said two major surfaces, and the electronic device (34 and 35) being arranged on a material portion in continuity with the edge of said ophthalmic lens, in said zone outside the outline corresponding to said cavity, on a substantially parallelepipedal part that is inserted between said shells (31 and 32), said part having an end joining said shells to each other in the manner of a spacer of given thickness to ensure material continuity between said shells (31, 32) and the electronic device, the electronic device (26, 27, 28, 34 and 35) being arranged on the other end of the part.